Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001864/0.001864, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.002429/0.002429, allocations: 210.1 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2354/0.2354, allocations: 46.97 MB / 361.6 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 71.89 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3452, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003846/0.349, allocations: 2.26 MB / 0.564 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.3509, allocations: 0.9408 MB / 0.5649 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.3511, allocations: 15.88 kB / 0.5649 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004185/0.3515, allocations: 119.2 kB / 0.5651 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.3518, allocations: 99.33 kB / 0.5652 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007549/0.3525, allocations: 291.5 kB / 0.5654 GB, free: 448 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008765/0.3534, allocations: 0.7171 MB / 0.5661 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.3536, allocations: 52.89 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003734/0.354, allocations: 299 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004551/0.3544, allocations: 322.8 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.3546, allocations: 64 kB / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.3547, allocations: 60 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.3549, allocations: 203.4 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002327/0.3551, allocations: 203 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006579/0.3558, allocations: 0.5746 MB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3558, allocations: 0 / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3558, allocations: 0 / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.3558, allocations: 0 / 0.5678 GB, free: 13.96 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.002561/0.3584, allocations: 0.8831 MB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.3584, allocations: 8.031 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.3586, allocations: 64.61 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007645/0.3593, allocations: 329 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006893/0.36, allocations: 0.6708 MB / 0.5697 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.3601, allocations: 36.38 kB / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/0.3625, allocations: 0.8204 MB / 0.5706 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.3625, allocations: 7.938 kB / 0.5706 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/0.3626, allocations: 19.94 kB / 0.5706 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.3626, allocations: 8 kB / 0.5706 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004032/0.3666, allocations: 1.216 MB / 0.5718 GB, free: 9.676 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003214/0.3698, allocations: 1.837 MB / 0.5736 GB, free: 7.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00313/0.373, allocations: 0.755 MB / 0.5743 GB, free: 7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/0.3747, allocations: 470.4 kB / 0.5748 GB, free: 6.535 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-05/0.3747, allocations: 12.56 kB / 0.5748 GB, free: 6.523 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.3748, allocations: 39.69 kB / 0.5748 GB, free: 6.477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 3.257e-06/0.3748, allocations: 0 / 0.5748 GB, free: 6.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=122): time 0.09174/0.4665, allocations: 15.53 MB / 0.59 GB, free: 6.848 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.391e-05/0.4666, allocations: 94.05 kB / 0.5901 GB, free: 6.738 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005888/0.4672, allocations: 421.4 kB / 0.5905 GB, free: 6.316 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.4674, allocations: 53.64 kB / 0.5905 GB, free: 6.258 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.4676, allocations: 221.6 kB / 0.5907 GB, free: 6.035 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004673/0.468, allocations: 424.3 kB / 0.5912 GB, free: 5.617 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005835/0.4686, allocations: 202.9 kB / 0.5913 GB, free: 5.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.4688, allocations: 374.7 kB / 0.5917 GB, free: 5.035 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004048/0.4729, allocations: 1.353 MB / 0.593 GB, free: 3.684 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004191/0.477, allocations: 1.512 MB / 0.5945 GB, free: 2.125 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007536/0.4846, allocations: 2.447 MB / 0.5969 GB, free: 15.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.4846, allocations: 0 / 0.5969 GB, free: 15.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.008664/0.4933, allocations: 2.863 MB / 0.5997 GB, free: 12.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.4933, allocations: 8 kB / 0.5997 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.4933, allocations: 4 kB / 0.5997 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.4933, allocations: 8 kB / 0.5997 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002879/0.4962, allocations: 407.6 kB / 0.6001 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.216e-05/0.4962, allocations: 8 kB / 0.6001 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/0.4984, allocations: 223.6 kB / 0.6003 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.4985, allocations: 44 kB / 0.6004 GB, free: 12.07 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.0005308/0.4991, allocations: 233.9 kB / 0.6006 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/0.4993, allocations: 67.58 kB / 0.6006 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.4996, allocations: 116.7 kB / 0.6008 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.4996, allocations: 12 kB / 0.6008 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.4996, allocations: 0 / 0.6008 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.4996, allocations: 19.8 kB / 0.6008 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/0.5126, allocations: 4.791 MB / 0.6055 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.717e-05/0.5126, allocations: 24 kB / 0.6055 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/0.5142, allocations: 351.7 kB / 0.6058 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-05/0.5142, allocations: 28 kB / 0.6059 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-05/0.5143, allocations: 47.98 kB / 0.6059 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.491e-05/0.5144, allocations: 39.86 kB / 0.6059 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.517e-05/0.5144, allocations: 31.88 kB / 0.606 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008499/0.5229, allocations: 3.15 MB / 0.609 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005507/0.5234, allocations: 163.5 kB / 0.6092 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.5236, allocations: 47.98 kB / 0.6092 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.525, allocations: 199.8 kB / 0.6094 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004802/0.5254, allocations: 227.1 kB / 0.6096 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.5256, allocations: 56 kB / 0.6097 GB, free: 1.871 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003945/0.526, allocations: 287.1 kB / 0.61 GB, free: 1.586 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.526, allocations: 0 / 0.61 GB, free: 1.586 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001029/0.527, allocations: 228 kB / 0.6102 GB, free: 1.363 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.0002378/0.5272, allocations: 170.8 kB / 0.6104 GB, free: 1.188 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006896/0.5341, allocations: 2.186 MB / 0.6125 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.598e-05/0.5341, allocations: 4 kB / 0.6125 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003788/0.5379, allocations: 1.067 MB / 0.6135 GB, free: 13.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.5392, allocations: 137.3 kB / 0.6137 GB, free: 13.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004428/0.5437, allocations: 2.035 MB / 0.6157 GB, free: 11.45 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.5441, allocations: 325.8 kB / 0.616 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007422/0.5448, allocations: 83.42 kB / 0.616 GB, free: 11.02 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5448, allocations: 0 / 0.616 GB, free: 11.02 MB / 462.1 MB Notification: Performance of Templates: time 0.02317/0.568, allocations: 14.51 MB / 0.6302 GB, free: 12.54 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 8.870864703785628]