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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009107/0.0009107, allocations: 95.69 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000848/0.000848, allocations: 206.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 227.7 MB / 247.5 MB, free: 11.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1846/0.1846, allocations: 46.19 MB / 345.9 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002435/0.0002436, allocations: 8.234 kB / 420.2 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09503/0.09529, allocations: 63.56 MB / 483.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002321/0.09764, allocations: 2.087 MB / 485.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.09927, allocations: 0.9436 MB / 486.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.09949, allocations: 11.94 kB / 486.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.09984, allocations: 99.44 kB / 486.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.1001, allocations: 79.58 kB / 486.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006076/0.1007, allocations: 255.7 kB / 487.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006619/0.1014, allocations: 0.6743 MB / 487.9 MB, free: 32 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.1016, allocations: 69.05 kB / 487.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.1019, allocations: 263 kB / 488.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000387/0.1023, allocations: 306.8 kB / 488.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.662e-05/0.1024, allocations: 32 kB / 488.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.227e-05/0.1025, allocations: 35.94 kB / 488.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.1027, allocations: 171.5 kB / 488.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.1029, allocations: 240.5 kB / 489 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.1033, allocations: 375.3 kB / 489.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1033, allocations: 4 kB / 489.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1033, allocations: 3.938 kB / 489.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.1033, allocations: 0 / 489.3 MB, free: 14.55 MB / 366.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.002222/0.1055, allocations: 0.9201 MB / 490.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1056, allocations: 8.875 kB / 490.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.1057, allocations: 64.38 kB / 490.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004803/0.1062, allocations: 379 kB / 490.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000366/0.1066, allocations: 279.7 kB / 491 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.846e-05/0.1067, allocations: 40.38 kB / 491 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/0.1089, allocations: 0.8712 MB / 491.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.1089, allocations: 0 / 491.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.109, allocations: 16 kB / 491.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.109, allocations: 12 kB / 491.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00385/0.1129, allocations: 1.325 MB / 493.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00281/0.1157, allocations: 2.085 MB / 495.3 MB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00329/0.119, allocations: 0.8915 MB / 496.2 MB, free: 7.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.1207, allocations: 0.5526 MB / 496.8 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.404e-05/0.1208, allocations: 15.92 kB / 496.8 MB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.1208, allocations: 46.5 kB / 496.8 MB, free: 6.781 MB / 366.1 MB Notification: Performance of pre-optimization done (n=64): time 2.074e-06/0.1208, allocations: 3.938 kB / 496.8 MB, free: 6.777 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.0944/0.2152, allocations: 18.23 MB / 0.503 GB, free: 4.371 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.2153, allocations: 98.17 kB / 0.5031 GB, free: 4.258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.2157, allocations: 397.3 kB / 0.5035 GB, free: 3.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.2159, allocations: 41.7 kB / 0.5035 GB, free: 3.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.216, allocations: 217.1 kB / 0.5037 GB, free: 3.598 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003899/0.2164, allocations: 398.2 kB / 0.5041 GB, free: 3.203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/0.2166, allocations: 97.66 kB / 0.5042 GB, free: 3.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2168, allocations: 374.8 kB / 0.5045 GB, free: 2.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003866/0.2207, allocations: 1.455 MB / 0.506 GB, free: 1.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.184/0.4047, allocations: 1.6 MB / 0.5075 GB, free: 42.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007821/0.4125, allocations: 2.67 MB / 0.5101 GB, free: 42.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.4125, allocations: 5.375 kB / 0.5101 GB, free: 42.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.00852/0.4211, allocations: 3.054 MB / 0.5131 GB, free: 41.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.4211, allocations: 6.625 kB / 0.5131 GB, free: 41.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.4211, allocations: 8.656 kB / 0.5131 GB, free: 41.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.269e-05/0.4212, allocations: 7.125 kB / 0.5131 GB, free: 41.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/0.4241, allocations: 468.2 kB / 0.5136 GB, free: 41.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.945e-05/0.4241, allocations: 13.23 kB / 0.5136 GB, free: 41.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/0.4264, allocations: 281.2 kB / 0.5139 GB, free: 41.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/0.4266, allocations: 40.02 kB / 0.5139 GB, free: 41.23 MB / 382.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: 10 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,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 (148): * Single equations (assignments): 148 * 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.0004786/0.4271, allocations: 233.5 kB / 0.5141 GB, free: 41.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.4273, allocations: 66.12 kB / 0.5142 GB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.4276, allocations: 110.6 kB / 0.5143 GB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.4276, allocations: 13.22 kB / 0.5143 GB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.4276, allocations: 4.812 kB / 0.5143 GB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.4276, allocations: 6.797 kB / 0.5143 GB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/0.4398, allocations: 5.551 MB / 0.5197 GB, free: 38.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.13e-05/0.4399, allocations: 20.97 kB / 0.5198 GB, free: 38.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/0.4416, allocations: 413.4 kB / 0.5201 GB, free: 38.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.632e-05/0.4416, allocations: 27.06 kB / 0.5202 GB, free: 38.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.917e-05/0.4417, allocations: 47.17 kB / 0.5202 GB, free: 38.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.141e-05/0.4417, allocations: 40.81 kB / 0.5203 GB, free: 38.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.8e-05/0.4418, allocations: 31.19 kB / 0.5203 GB, free: 38.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007645/0.4494, allocations: 3.423 MB / 0.5236 GB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/0.4498, allocations: 240.7 kB / 0.5239 GB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.4499, allocations: 58.84 kB / 0.5239 GB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.4513, allocations: 247.7 kB / 0.5242 GB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003536/0.4517, allocations: 223.3 kB / 0.5244 GB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.637e-05/0.4518, allocations: 56.17 kB / 0.5244 GB, free: 36.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002272/0.452, allocations: 261.8 kB / 0.5247 GB, free: 36.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.452, allocations: 0.9375 kB / 0.5247 GB, free: 36.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001026/0.453, allocations: 232.2 kB / 0.5249 GB, free: 36.12 MB / 382.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: 6 (kinematicPTP2b.moving[1],kinematicPTP1b.moving[1],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 (120): * Single equations (assignments): 120 * 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.0002023/0.4532, allocations: 172.2 kB / 0.5251 GB, free: 35.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006513/0.4598, allocations: 2.576 MB / 0.5276 GB, free: 35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.4598, allocations: 3.531 kB / 0.5276 GB, free: 35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003223/0.463, allocations: 1.177 MB / 0.5287 GB, free: 34.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/0.465, allocations: 166.6 kB / 0.5289 GB, free: 34.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/0.4683, allocations: 2.264 MB / 0.5311 GB, free: 31.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.4686, allocations: 0.9246 MB / 0.532 GB, free: 30.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006867/0.4693, allocations: 75.42 kB / 0.5321 GB, free: 30.71 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4693, allocations: 0 / 0.5321 GB, free: 30.71 MB / 382.1 MB Notification: Performance of Templates: time 0.01544/0.4848, allocations: 14.18 MB / 0.5459 GB, free: 16.57 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches