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.001573/0.001573, allocations: 96.2 kB / 20.21 MB, free: 4.195 MB / 18.57 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.002755/0.002755, allocations: 157.3 kB / 23.51 MB, free: 0.8945 MB / 18.57 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.505/1.505, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 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.2217/0.2217, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.594e-05/3.82e-05, allocations: 6.25 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003166/0.003204, allocations: 2.247 MB / 349.2 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.00478, allocations: 0.9561 MB / 350.1 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002648/0.005045, allocations: 11.94 kB / 350.1 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003959/0.005441, allocations: 119.3 kB / 350.3 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003187/0.00576, allocations: 111.1 kB / 350.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006439/0.006404, allocations: 295.5 kB / 350.7 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007374/0.007141, allocations: 0.7328 MB / 351.4 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.007314, allocations: 49.12 kB / 351.4 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005537/0.007868, allocations: 395.2 kB / 351.8 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003704/0.008238, allocations: 291.2 kB / 352.1 MB, free: 4.605 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.008375, allocations: 64 kB / 352.2 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.128e-05/0.008466, allocations: 64 kB / 352.2 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.008645, allocations: 203.4 kB / 352.4 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.008844, allocations: 179.5 kB / 352.6 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005596/0.009404, allocations: 0.623 MB / 353.2 MB, free: 3.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.009409, allocations: 0 / 353.2 MB, free: 3.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.00941, allocations: 0 / 353.2 MB, free: 3.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.153e-05/0.009432, allocations: 0 / 353.2 MB, free: 3.48 MB / 282.7 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.002587/0.01202, allocations: 0.8792 MB / 354.1 MB, free: 2.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.01206, allocations: 12.03 kB / 354.1 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.01227, allocations: 112.6 kB / 354.2 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006486/0.01291, allocations: 328.2 kB / 354.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004211/0.01334, allocations: 0.6708 MB / 355.2 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.01344, allocations: 48.38 kB / 355.3 MB, free: 1.246 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.01539, allocations: 0.8169 MB / 356.1 MB, free: 396 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.01542, allocations: 192 / 356.1 MB, free: 396 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.153e-05/0.01548, allocations: 20.12 kB / 356.1 MB, free: 376 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.01549, allocations: 12 kB / 356.1 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00386/0.01935, allocations: 1.216 MB / 357.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00348/0.02283, allocations: 1.852 MB / 359.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003075/0.02591, allocations: 0.7413 MB / 359.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.02759, allocations: 467.3 kB / 360.4 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.798e-05/0.02767, allocations: 11.98 kB / 360.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.02771, allocations: 46.44 kB / 360.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 2.504e-06/0.02772, allocations: 4 kB / 360.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.09452/0.1222, allocations: 15.57 MB / 376 MB, free: 12.26 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.477e-05/0.1223, allocations: 90.11 kB / 376.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007008/0.123, allocations: 417.4 kB / 376.5 MB, free: 11.74 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002006/0.1232, allocations: 49.64 kB / 376.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.1235, allocations: 229.4 kB / 376.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000577/0.124, allocations: 412.4 kB / 377.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007037/0.1247, allocations: 206.9 kB / 377.4 MB, free: 10.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002701/0.125, allocations: 374.7 kB / 377.8 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004213/0.1292, allocations: 1.353 MB / 379.1 MB, free: 9.113 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004443/0.1337, allocations: 1.505 MB / 380.6 MB, free: 7.562 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007691/0.1414, allocations: 2.452 MB / 383.1 MB, free: 5.066 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.1414, allocations: 4 kB / 383.1 MB, free: 5.062 MB / 314.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.009327/0.1507, allocations: 2.909 MB / 386 MB, free: 2.145 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.1507, allocations: 8 kB / 386 MB, free: 2.137 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.1508, allocations: 4 kB / 386 MB, free: 2.133 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.497e-05/0.1508, allocations: 8 kB / 386 MB, free: 2.125 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003127/0.1539, allocations: 403.5 kB / 386.4 MB, free: 1.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.665e-05/0.154, allocations: 11.94 kB / 386.4 MB, free: 1.719 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/0.1563, allocations: 223.7 kB / 386.6 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002177/0.1565, allocations: 40 kB / 386.7 MB, free: 1.461 MB / 314.7 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.0006425/0.1572, allocations: 237.2 kB / 386.9 MB, free: 1.219 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005076/0.1577, allocations: 103.6 kB / 387 MB, free: 1.117 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.158, allocations: 116.7 kB / 387.1 MB, free: 1.004 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.158, allocations: 16 kB / 387.1 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.158, allocations: 0 / 387.1 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.158, allocations: 7.922 kB / 387.1 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/0.1722, allocations: 4.799 MB / 391.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.173e-05/0.1723, allocations: 27.97 kB / 392 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001705/0.174, allocations: 351.4 kB / 392.3 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-05/0.1741, allocations: 32 kB / 392.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/0.1742, allocations: 48 kB / 392.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-05/0.1743, allocations: 39.86 kB / 392.4 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.469e-05/0.1743, allocations: 35.81 kB / 392.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009091/0.1834, allocations: 3.132 MB / 395.6 MB, free: 7.906 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006812/0.1841, allocations: 171.4 kB / 395.7 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/0.1843, allocations: 55.97 kB / 395.8 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/0.1859, allocations: 191.8 kB / 396 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006675/0.1866, allocations: 219.2 kB / 396.2 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/0.1868, allocations: 56 kB / 396.3 MB, free: 7.227 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004746/0.1872, allocations: 287.1 kB / 396.5 MB, free: 6.945 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1872, allocations: 0 / 396.5 MB, free: 6.945 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001461/0.1887, allocations: 236 kB / 396.8 MB, free: 6.715 MB / 330.7 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.0003701/0.1891, allocations: 170.8 kB / 396.9 MB, free: 6.535 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007269/0.1963, allocations: 2.19 MB / 399.1 MB, free: 4.344 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.828e-05/0.1964, allocations: 4 kB / 399.1 MB, free: 4.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004035/0.2004, allocations: 1.059 MB / 400.2 MB, free: 3.285 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/0.2027, allocations: 214.1 kB / 400.4 MB, free: 3.082 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005385/0.2081, allocations: 1.949 MB / 402.3 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005777/0.2087, allocations: 321.8 kB / 402.7 MB, free: 480 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001253/0.2099, allocations: 209.9 kB / 402.9 MB, free: 268 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006847/0.2106, allocations: 72.5 kB / 402.9 MB, free: 196 kB / 330.7 MB Notification: Performance of SimCode: time 2.104e-06/0.2106, allocations: 0 / 402.9 MB, free: 196 kB / 330.7 MB Notification: Performance of Templates: time 0.03554/0.2462, allocations: 18.15 MB / 421.1 MB, free: 14.03 MB / 362.7 MB " [Timeout remaining time 660] 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: 5.785967273986898]