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.001603/0.001603, allocations: 116.9 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001992/0.001992, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2166/0.2166, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00246/0.00246, allocations: 77.25 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1391, allocations: 62.45 MB / 479.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003675/0.1428, allocations: 2.456 MB / 481.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.1447, allocations: 0.9592 MB / 482.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.145, allocations: 7.938 kB / 482.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004707/0.1455, allocations: 99.5 kB / 483 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.1457, allocations: 79.58 kB / 483.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007045/0.1464, allocations: 255.7 kB / 483.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007416/0.1472, allocations: 0.7173 MB / 484 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.1474, allocations: 69.05 kB / 484.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003439/0.1477, allocations: 299 kB / 484.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.1481, allocations: 342.7 kB / 484.7 MB, free: 348 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.112e-05/0.1482, allocations: 60 kB / 484.8 MB, free: 288 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.269e-05/0.1483, allocations: 60 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.1485, allocations: 199.5 kB / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002637/0.1488, allocations: 246.9 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.1494, allocations: 0.5374 MB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1494, allocations: 4 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1494, allocations: 0 / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.1494, allocations: 0 / 485.8 MB, free: 15.24 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.002211/0.1516, allocations: 0.9431 MB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1517, allocations: 8.031 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.1518, allocations: 64.28 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.1523, allocations: 367.2 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003742/0.1527, allocations: 267.7 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.1528, allocations: 40.38 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.1549, allocations: 0.8086 MB / 488.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.1549, allocations: 7.906 kB / 488.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.93e-05/0.155, allocations: 20 kB / 488.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.155, allocations: 8 kB / 488.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003449/0.1584, allocations: 1.2 MB / 489.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00285/0.1613, allocations: 2.039 MB / 491.6 MB, free: 9.234 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00299/0.1643, allocations: 0.8348 MB / 492.4 MB, free: 8.387 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.1658, allocations: 0.4901 MB / 492.9 MB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.28e-05/0.1659, allocations: 15.94 kB / 492.9 MB, free: 7.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.1659, allocations: 42.5 kB / 493 MB, free: 7.824 MB / 366.1 MB Notification: Performance of pre-optimization done (n=64): time 2.624e-06/0.1659, allocations: 0 / 493 MB, free: 7.824 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.08641/0.2523, allocations: 15.74 MB / 0.4968 GB, free: 7.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.2524, allocations: 94.23 kB / 0.4969 GB, free: 7.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004704/0.2529, allocations: 385.4 kB / 0.4972 GB, free: 7.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002213/0.2532, allocations: 49.7 kB / 0.4973 GB, free: 7.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.2533, allocations: 221.1 kB / 0.4975 GB, free: 7.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003834/0.2537, allocations: 394.1 kB / 0.4979 GB, free: 6.742 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000565/0.2543, allocations: 202.8 kB / 0.4981 GB, free: 6.535 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2544, allocations: 366.8 kB / 0.4984 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003456/0.2579, allocations: 1.349 MB / 0.4997 GB, free: 4.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003511/0.2614, allocations: 1.497 MB / 0.5012 GB, free: 3.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006456/0.2679, allocations: 2.441 MB / 0.5036 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.2679, allocations: 0 / 0.5036 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.2237/0.4916, allocations: 2.822 MB / 0.5063 GB, free: 43.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.4917, allocations: 6.781 kB / 0.5064 GB, free: 43.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.4917, allocations: 7 kB / 0.5064 GB, free: 43.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.67e-05/0.4918, allocations: 8.844 kB / 0.5064 GB, free: 43.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002993/0.4948, allocations: 411.8 kB / 0.5068 GB, free: 43.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.751e-05/0.4948, allocations: 15.41 kB / 0.5068 GB, free: 43.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.497, allocations: 218.8 kB / 0.507 GB, free: 43.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/0.4972, allocations: 38.34 kB / 0.507 GB, free: 43.5 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.0005185/0.4977, allocations: 233 kB / 0.5072 GB, free: 43.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.498, allocations: 63.03 kB / 0.5073 GB, free: 43.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.4982, allocations: 112.4 kB / 0.5074 GB, free: 43.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.4982, allocations: 12.62 kB / 0.5074 GB, free: 43.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.4982, allocations: 5.812 kB / 0.5074 GB, free: 43.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.4982, allocations: 6.812 kB / 0.5074 GB, free: 43.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/0.5103, allocations: 5.222 MB / 0.5125 GB, free: 40.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.757e-05/0.5104, allocations: 20.25 kB / 0.5126 GB, free: 40.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.5119, allocations: 357.3 kB / 0.5129 GB, free: 40.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.563e-05/0.512, allocations: 28.3 kB / 0.5129 GB, free: 40.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.5121, allocations: 47.77 kB / 0.513 GB, free: 40.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.264e-05/0.5121, allocations: 39.84 kB / 0.513 GB, free: 40.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.339e-05/0.5121, allocations: 36.25 kB / 0.513 GB, free: 40.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007607/0.5198, allocations: 3.089 MB / 0.5161 GB, free: 39.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006953/0.5205, allocations: 238.7 kB / 0.5163 GB, free: 38.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.5207, allocations: 48.41 kB / 0.5163 GB, free: 38.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/0.5223, allocations: 195.6 kB / 0.5165 GB, free: 38.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006119/0.5229, allocations: 217.8 kB / 0.5167 GB, free: 38.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.523, allocations: 57.42 kB / 0.5168 GB, free: 38.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003456/0.5233, allocations: 263.5 kB / 0.517 GB, free: 38.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5233, allocations: 0 / 0.517 GB, free: 38.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001076/0.5244, allocations: 228.6 kB / 0.5172 GB, free: 38.55 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.0002242/0.5247, allocations: 168.3 kB / 0.5174 GB, free: 38.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006933/0.5316, allocations: 2.409 MB / 0.5198 GB, free: 37.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.961e-05/0.5317, allocations: 2.906 kB / 0.5198 GB, free: 37.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003674/0.5354, allocations: 1.069 MB / 0.5208 GB, free: 37.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.5368, allocations: 148 kB / 0.5209 GB, free: 37.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/0.5404, allocations: 2.221 MB / 0.5231 GB, free: 35.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.5408, allocations: 0.9267 MB / 0.524 GB, free: 34.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001245/0.542, allocations: 204.8 kB / 0.5242 GB, free: 34.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000556/0.5426, allocations: 71.73 kB / 0.5243 GB, free: 34.58 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5426, allocations: 3.938 kB / 0.5243 GB, free: 34.58 MB / 382.1 MB Notification: Performance of Templates: time 0.02003/0.5626, allocations: 15.95 MB / 0.5399 GB, free: 20.73 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches