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.001712/0.001712, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002321/0.002321, allocations: 214.1 kB / 22.99 MB, free: 4.977 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.635/1.635, allocations: 207.7 MB / 233.8 MB, free: 9.805 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.2364/0.2364, allocations: 44.28 MB / 330.3 MB, free: 9.309 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.002483/0.002483, allocations: 63.91 kB / 468 MB, free: 3.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.169, allocations: 61.04 MB / 0.5166 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.005128/0.1741, allocations: 2.251 MB / 0.5188 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.1763, allocations: 0.9562 MB / 0.5198 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.1765, allocations: 7.938 kB / 0.5198 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005745/0.1771, allocations: 123.2 kB / 0.5199 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.1774, allocations: 107.3 kB / 0.52 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007918/0.1782, allocations: 295.5 kB / 0.5203 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009265/0.1791, allocations: 0.7251 MB / 0.521 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.1793, allocations: 41.27 kB / 0.521 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004119/0.1797, allocations: 295.1 kB / 0.5213 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004945/0.1802, allocations: 322.7 kB / 0.5216 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.1803, allocations: 67.94 kB / 0.5217 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1804, allocations: 60 kB / 0.5217 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.1807, allocations: 199.5 kB / 0.5219 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.1809, allocations: 211 kB / 0.5221 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007311/0.1816, allocations: 0.5837 MB / 0.5227 GB, free: 432 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1816, allocations: 0 / 0.5227 GB, free: 432 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1816, allocations: 0 / 0.5227 GB, free: 432 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.1816, allocations: 0 / 0.5227 GB, free: 432 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.002478/0.1841, allocations: 0.8831 MB / 0.5236 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.1842, allocations: 8.031 kB / 0.5236 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.1843, allocations: 64.66 kB / 0.5236 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000808/0.1851, allocations: 321.1 kB / 0.5239 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006678/0.1858, allocations: 0.6708 MB / 0.5246 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.1859, allocations: 44.33 kB / 0.5246 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.1881, allocations: 0.8242 MB / 0.5254 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.1881, allocations: 4 kB / 0.5254 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-05/0.1882, allocations: 16 kB / 0.5255 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.1882, allocations: 12 kB / 0.5255 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003824/0.1921, allocations: 1.212 MB / 0.5266 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003196/0.1952, allocations: 1.864 MB / 0.5285 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/0.1982, allocations: 0.7481 MB / 0.5292 GB, free: 9.449 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.1999, allocations: 471.2 kB / 0.5296 GB, free: 8.988 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.956e-05/0.2, allocations: 7.938 kB / 0.5297 GB, free: 8.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.2, allocations: 46.48 kB / 0.5297 GB, free: 8.926 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 3.146e-06/0.2, allocations: 0 / 0.5297 GB, free: 8.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=122): time 0.4275/0.6275, allocations: 15.52 MB / 0.5449 GB, free: 28.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.6276, allocations: 89.8 kB / 0.5449 GB, free: 27.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005693/0.6282, allocations: 425.1 kB / 0.5453 GB, free: 27.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.6283, allocations: 48.28 kB / 0.5454 GB, free: 27.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.6285, allocations: 221.2 kB / 0.5456 GB, free: 27.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003747/0.6288, allocations: 427.5 kB / 0.546 GB, free: 27.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005323/0.6294, allocations: 200.8 kB / 0.5462 GB, free: 27.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.6295, allocations: 378.2 kB / 0.5466 GB, free: 26.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003744/0.6332, allocations: 1.354 MB / 0.5479 GB, free: 26.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004133/0.6374, allocations: 1.502 MB / 0.5493 GB, free: 25.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007303/0.6447, allocations: 2.455 MB / 0.5517 GB, free: 24.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.6447, allocations: 0 / 0.5517 GB, free: 24.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.008526/0.6532, allocations: 2.856 MB / 0.5545 GB, free: 23.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.6532, allocations: 11.66 kB / 0.5545 GB, free: 23.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.6532, allocations: 3.406 kB / 0.5546 GB, free: 23.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.314e-05/0.6533, allocations: 8.281 kB / 0.5546 GB, free: 23.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002808/0.6561, allocations: 410.9 kB / 0.555 GB, free: 23.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-05/0.6561, allocations: 8.984 kB / 0.555 GB, free: 23.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002242/0.6584, allocations: 223.3 kB / 0.5552 GB, free: 23.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/0.6586, allocations: 45.05 kB / 0.5552 GB, free: 23.46 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.0005414/0.6591, allocations: 227 kB / 0.5554 GB, free: 23.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/0.6593, allocations: 69.17 kB / 0.5555 GB, free: 23.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.6596, allocations: 113.4 kB / 0.5556 GB, free: 23.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.6596, allocations: 15.62 kB / 0.5556 GB, free: 23.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.633e-05/0.6596, allocations: 0 / 0.5556 GB, free: 23.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.6596, allocations: 7.141 kB / 0.5556 GB, free: 23.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/0.672, allocations: 4.797 MB / 0.5603 GB, free: 20.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.195e-05/0.672, allocations: 21.66 kB / 0.5603 GB, free: 20.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/0.6736, allocations: 353.1 kB / 0.5607 GB, free: 20.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.741e-05/0.6736, allocations: 29.81 kB / 0.5607 GB, free: 20.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.6737, allocations: 52.11 kB / 0.5607 GB, free: 20.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.141e-05/0.6738, allocations: 48.58 kB / 0.5608 GB, free: 20.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.861e-05/0.6738, allocations: 35.19 kB / 0.5608 GB, free: 20.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007578/0.6814, allocations: 3.122 MB / 0.5639 GB, free: 19.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000549/0.6819, allocations: 168.2 kB / 0.564 GB, free: 18.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.6821, allocations: 63.19 kB / 0.5641 GB, free: 18.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.6834, allocations: 193.1 kB / 0.5643 GB, free: 18.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004208/0.6838, allocations: 224.3 kB / 0.5645 GB, free: 18.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.983e-05/0.6839, allocations: 55.38 kB / 0.5645 GB, free: 18.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000316/0.6842, allocations: 284 kB / 0.5648 GB, free: 18.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6842, allocations: 0.875 kB / 0.5648 GB, free: 18.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001222/0.6855, allocations: 231.8 kB / 0.565 GB, free: 18.67 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.0002051/0.6857, allocations: 167.1 kB / 0.5652 GB, free: 18.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006234/0.6919, allocations: 2.189 MB / 0.5673 GB, free: 17.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.337e-05/0.6919, allocations: 4.281 kB / 0.5673 GB, free: 17.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003391/0.6953, allocations: 1.062 MB / 0.5684 GB, free: 17.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.6966, allocations: 154.1 kB / 0.5685 GB, free: 17.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/0.7002, allocations: 1.97 MB / 0.5705 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.7006, allocations: 325 kB / 0.5708 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001176/0.7018, allocations: 210.6 kB / 0.571 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005725/0.7024, allocations: 76.67 kB / 0.571 GB, free: 15.14 MB / 414.1 MB Notification: Performance of SimCode: time 1.332e-06/0.7024, allocations: 0 / 0.571 GB, free: 15.14 MB / 414.1 MB Notification: Performance of Templates: time 0.02373/0.7261, allocations: 18.66 MB / 0.5893 GB, free: 14.5 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins/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: 6.581981057301164]