Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001443/0.001443, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001726/0.001726, allocations: 219.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2368/0.2368, allocations: 46.95 MB / 361.6 MB, free: 3.969 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 75.88 kB / 0.4974 GB, free: 7.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3945, allocations: 66.09 MB / 0.5619 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003875/0.3984, allocations: 2.247 MB / 0.5641 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.4004, allocations: 0.9408 MB / 0.565 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.4005, allocations: 11.88 kB / 0.565 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003708/0.4009, allocations: 119.2 kB / 0.5651 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.4011, allocations: 95.39 kB / 0.5652 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006939/0.4018, allocations: 295.5 kB / 0.5655 GB, free: 300 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008237/0.4027, allocations: 0.721 MB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.4029, allocations: 51.91 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003447/0.4032, allocations: 287.2 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004971/0.4037, allocations: 334.6 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.4038, allocations: 64 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.4039, allocations: 60 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.4042, allocations: 207.3 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.4044, allocations: 203 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006631/0.405, allocations: 0.5756 MB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.405, allocations: 0 / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.405, allocations: 0 / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.405, allocations: 0 / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.00234/0.4074, allocations: 0.8792 MB / 0.5688 GB, free: 12.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.4074, allocations: 12.03 kB / 0.5688 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.4075, allocations: 64.61 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006785/0.4082, allocations: 325 kB / 0.5692 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006887/0.4089, allocations: 0.6747 MB / 0.5698 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.66e-05/0.409, allocations: 40.31 kB / 0.5699 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.4112, allocations: 0.8165 MB / 0.5707 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.4113, allocations: 4 kB / 0.5707 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.555e-05/0.4113, allocations: 16 kB / 0.5707 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.4113, allocations: 8 kB / 0.5707 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003865/0.4152, allocations: 1.216 MB / 0.5719 GB, free: 9.527 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00303/0.4182, allocations: 1.833 MB / 0.5737 GB, free: 7.625 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/0.4211, allocations: 0.7598 MB / 0.5744 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.4227, allocations: 462.4 kB / 0.5749 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.436e-05/0.4228, allocations: 12.56 kB / 0.5749 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.4228, allocations: 43.62 kB / 0.5749 GB, free: 6.328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 6.142e-06/0.4228, allocations: 3.984 kB / 0.5749 GB, free: 6.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=122): time 0.08689/0.5097, allocations: 15.54 MB / 0.5901 GB, free: 6.688 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.5098, allocations: 90.11 kB / 0.5902 GB, free: 6.582 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000569/0.5104, allocations: 417.4 kB / 0.5906 GB, free: 6.164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001797/0.5105, allocations: 49.64 kB / 0.5906 GB, free: 6.109 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.5107, allocations: 225.5 kB / 0.5908 GB, free: 5.883 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004214/0.5111, allocations: 424.3 kB / 0.5912 GB, free: 5.465 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005551/0.5117, allocations: 202.9 kB / 0.5914 GB, free: 5.258 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.5119, allocations: 374.7 kB / 0.5918 GB, free: 4.883 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003845/0.5157, allocations: 1.361 MB / 0.5931 GB, free: 3.523 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003919/0.5197, allocations: 1.505 MB / 0.5946 GB, free: 1.969 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007377/0.527, allocations: 2.459 MB / 0.597 GB, free: 15.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.527, allocations: 0 / 0.597 GB, free: 15.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.008742/0.5358, allocations: 2.855 MB / 0.5998 GB, free: 12.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.5358, allocations: 8 kB / 0.5998 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.5358, allocations: 4 kB / 0.5998 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/0.5358, allocations: 8 kB / 0.5998 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002711/0.5386, allocations: 407.6 kB / 0.6002 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.155e-05/0.5386, allocations: 8 kB / 0.6002 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/0.5406, allocations: 227.6 kB / 0.6004 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.5408, allocations: 43.98 kB / 0.6005 GB, free: 11.91 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.motion_ref,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1b.motion_ref,kinematicPTP1b.moving[1],integrator3.local_reset,integrator2.local_reset,integrator1.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005516/0.5413, allocations: 233.9 kB / 0.6007 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/0.5415, allocations: 67.58 kB / 0.6007 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.5418, allocations: 112.7 kB / 0.6009 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.5418, allocations: 12 kB / 0.6009 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.5418, allocations: 0 / 0.6009 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.5418, allocations: 7.922 kB / 0.6009 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/0.5544, allocations: 4.788 MB / 0.6056 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.793e-05/0.5544, allocations: 24 kB / 0.6056 GB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/0.5559, allocations: 355.7 kB / 0.6059 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.09e-05/0.5559, allocations: 28 kB / 0.6059 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.691e-05/0.556, allocations: 47.94 kB / 0.606 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.308e-05/0.5561, allocations: 39.86 kB / 0.606 GB, free: 5.883 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-05/0.5561, allocations: 31.88 kB / 0.6061 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008183/0.5643, allocations: 3.15 MB / 0.6091 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005474/0.5648, allocations: 167.5 kB / 0.6093 GB, free: 2.234 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/0.565, allocations: 47.98 kB / 0.6093 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/0.5665, allocations: 195.8 kB / 0.6095 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005874/0.5671, allocations: 227.1 kB / 0.6097 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.5672, allocations: 59.98 kB / 0.6098 GB, free: 1.715 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004237/0.5676, allocations: 279.1 kB / 0.6101 GB, free: 1.441 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5676, allocations: 0 / 0.6101 GB, free: 1.441 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001159/0.5688, allocations: 232 kB / 0.6103 GB, free: 1.215 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 8 (kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003637/0.5691, allocations: 174.7 kB / 0.6104 GB, free: 1.035 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006983/0.5761, allocations: 2.184 MB / 0.6126 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-05/0.5761, allocations: 4 kB / 0.6126 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003762/0.5799, allocations: 1.063 MB / 0.6136 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.5813, allocations: 153.2 kB / 0.6138 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004685/0.586, allocations: 2.043 MB / 0.6158 GB, free: 11.28 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/0.5865, allocations: 325.8 kB / 0.6161 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00076/0.5872, allocations: 83.41 kB / 0.6162 GB, free: 10.86 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5872, allocations: 0 / 0.6162 GB, free: 10.86 MB / 462.1 MB Notification: Performance of Templates: time 0.02654/0.6138, allocations: 14.51 MB / 0.6303 GB, free: 12.36 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.071258537005633]