Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 104.3 kB / 20.45 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 209.6 kB / 23.74 MB, free: 4.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 207.7 MB / 234.6 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2214/0.2214, allocations: 44.27 MB / 331.1 MB, free: 9.297 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002474/0.002474, allocations: 67.91 kB / 468.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1219, allocations: 61.04 MB / 0.5174 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003759/0.1257, allocations: 2.251 MB / 0.5196 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.1278, allocations: 0.964 MB / 0.5205 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.1279, allocations: 7.938 kB / 0.5205 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.1283, allocations: 119.2 kB / 0.5206 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.1285, allocations: 107.3 kB / 0.5207 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006683/0.1292, allocations: 287.5 kB / 0.521 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009091/0.1301, allocations: 0.7291 MB / 0.5217 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.1303, allocations: 45.25 kB / 0.5218 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000366/0.1307, allocations: 291 kB / 0.522 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004488/0.1311, allocations: 334.6 kB / 0.5224 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.1312, allocations: 60 kB / 0.5224 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1313, allocations: 68 kB / 0.5225 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002155/0.1315, allocations: 195.4 kB / 0.5227 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.1318, allocations: 207 kB / 0.5229 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006303/0.1324, allocations: 0.5798 MB / 0.5234 GB, free: 448 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1324, allocations: 0 / 0.5234 GB, free: 448 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1324, allocations: 0 / 0.5234 GB, free: 448 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.1324, allocations: 0 / 0.5234 GB, free: 448 kB / 398.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.002437/0.1348, allocations: 0.8947 MB / 0.5243 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.1349, allocations: 12.03 kB / 0.5243 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.135, allocations: 60.66 kB / 0.5244 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006461/0.1357, allocations: 313.2 kB / 0.5247 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000631/0.1363, allocations: 0.6708 MB / 0.5253 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.941e-05/0.1364, allocations: 48.31 kB / 0.5254 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.1386, allocations: 0.8203 MB / 0.5262 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/0.1387, allocations: 4 kB / 0.5262 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.044e-05/0.1387, allocations: 20 kB / 0.5262 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.1387, allocations: 8 kB / 0.5262 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003897/0.1426, allocations: 1.212 MB / 0.5274 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003035/0.1457, allocations: 1.86 MB / 0.5292 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002917/0.1486, allocations: 0.7482 MB / 0.5299 GB, free: 9.469 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001631/0.1502, allocations: 467.3 kB / 0.5304 GB, free: 9.008 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.345e-05/0.1503, allocations: 8 kB / 0.5304 GB, free: 9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.1503, allocations: 42.5 kB / 0.5304 GB, free: 8.949 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 3.016e-06/0.1503, allocations: 0 / 0.5304 GB, free: 8.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=122): time 0.2913/0.4416, allocations: 15.53 MB / 0.5456 GB, free: 28.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.4417, allocations: 91.25 kB / 0.5457 GB, free: 28.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007372/0.4424, allocations: 418.9 kB / 0.5461 GB, free: 27.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002539/0.4427, allocations: 45.36 kB / 0.5461 GB, free: 27.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.4428, allocations: 221.1 kB / 0.5463 GB, free: 27.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004839/0.4433, allocations: 419.9 kB / 0.5467 GB, free: 27.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008366/0.4442, allocations: 202.1 kB / 0.5469 GB, free: 27.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.4443, allocations: 376.9 kB / 0.5473 GB, free: 26.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005836/0.4501, allocations: 1.359 MB / 0.5486 GB, free: 26.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006071/0.4562, allocations: 1.504 MB / 0.5501 GB, free: 25.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01076/0.4669, allocations: 2.452 MB / 0.5525 GB, free: 24.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/0.467, allocations: 1.312 kB / 0.5525 GB, free: 24.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.01212/0.4791, allocations: 2.856 MB / 0.5553 GB, free: 23.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/0.4791, allocations: 10.05 kB / 0.5553 GB, free: 23.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.4791, allocations: 3.312 kB / 0.5553 GB, free: 23.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.918e-05/0.4792, allocations: 11.05 kB / 0.5553 GB, free: 23.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004109/0.4833, allocations: 410.9 kB / 0.5557 GB, free: 23.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.631e-05/0.4833, allocations: 9.672 kB / 0.5557 GB, free: 23.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003222/0.4865, allocations: 220.3 kB / 0.5559 GB, free: 23.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002793/0.4868, allocations: 41.11 kB / 0.5559 GB, free: 23.54 MB / 414.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.0006819/0.4875, allocations: 241.8 kB / 0.5562 GB, free: 23.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003605/0.4879, allocations: 73.39 kB / 0.5562 GB, free: 23.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.4882, allocations: 108.6 kB / 0.5563 GB, free: 23.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.4882, allocations: 13.31 kB / 0.5564 GB, free: 23.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.723e-05/0.4882, allocations: 1.062 kB / 0.5564 GB, free: 23.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.961e-05/0.4882, allocations: 7 kB / 0.5564 GB, free: 23.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/0.5014, allocations: 4.796 MB / 0.561 GB, free: 20.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.947e-05/0.5014, allocations: 19.88 kB / 0.5611 GB, free: 20.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/0.5029, allocations: 354.9 kB / 0.5614 GB, free: 20.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.813e-05/0.503, allocations: 29 kB / 0.5614 GB, free: 20.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.766e-05/0.5031, allocations: 50.78 kB / 0.5615 GB, free: 20.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.059e-05/0.5031, allocations: 45.91 kB / 0.5615 GB, free: 20.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.956e-05/0.5031, allocations: 32.75 kB / 0.5616 GB, free: 20.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007412/0.5105, allocations: 3.127 MB / 0.5646 GB, free: 19.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005488/0.5111, allocations: 170.3 kB / 0.5648 GB, free: 19.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.5112, allocations: 55.89 kB / 0.5648 GB, free: 19.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/0.5126, allocations: 193 kB / 0.565 GB, free: 19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003983/0.513, allocations: 225.6 kB / 0.5652 GB, free: 18.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.175e-05/0.5131, allocations: 58.95 kB / 0.5653 GB, free: 18.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002911/0.5133, allocations: 280.6 kB / 0.5655 GB, free: 18.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5133, allocations: 0 / 0.5655 GB, free: 18.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001045/0.5144, allocations: 236.5 kB / 0.5658 GB, free: 18.74 MB / 414.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.0001902/0.5146, allocations: 170.1 kB / 0.5659 GB, free: 18.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006394/0.521, allocations: 2.185 MB / 0.5681 GB, free: 17.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.864e-05/0.521, allocations: 3.25 kB / 0.5681 GB, free: 17.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003591/0.5246, allocations: 1.068 MB / 0.5691 GB, free: 17.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.526, allocations: 157.2 kB / 0.5693 GB, free: 17.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.5296, allocations: 2.027 MB / 0.5712 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.53, allocations: 328.8 kB / 0.5716 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007671/0.5308, allocations: 80.89 kB / 0.5716 GB, free: 15.28 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5308, allocations: 0 / 0.5716 GB, free: 15.28 MB / 414.1 MB Notification: Performance of Templates: time 0.01727/0.548, allocations: 14.56 MB / 0.5859 GB, free: 2.805 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.203372317831963]