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.001505/0.001505, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.001699/0.001699, allocations: 161.7 kB / 24.27 MB, free: 164 kB / 18.57 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.465/1.465, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3362/0.3362, allocations: 34.26 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 179] 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 1.643e-06/1.643e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.266e-05, allocations: 6.25 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.004235/0.004267, allocations: 2.243 MB / 379.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.006579, allocations: 0.9435 MB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002976/0.006877, allocations: 15.88 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004827/0.00736, allocations: 123.2 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004125/0.007772, allocations: 103.3 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009083/0.00868, allocations: 295.4 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001344/0.01002, allocations: 0.7289 MB / 381.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.01021, allocations: 41.27 kB / 381.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008127/0.01102, allocations: 395.2 kB / 382.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.01161, allocations: 295.1 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.01179, allocations: 60 kB / 382.5 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.01194, allocations: 64 kB / 382.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002855/0.01222, allocations: 203.4 kB / 382.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003004/0.01252, allocations: 167.6 kB / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008883/0.01341, allocations: 0.6153 MB / 383.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.01342, allocations: 8 kB / 383.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01342, allocations: 0 / 383.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.055e-05/0.01344, allocations: 0 / 383.5 MB, free: 12.68 MB / 362.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.002812/0.01625, allocations: 0.8753 MB / 384.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.0163, allocations: 8.031 kB / 384.4 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/0.01657, allocations: 116.5 kB / 384.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007479/0.01732, allocations: 324.4 kB / 384.9 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007582/0.01808, allocations: 0.6669 MB / 385.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.0182, allocations: 48.36 kB / 385.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.02068, allocations: 0.813 MB / 386.4 MB, free: 9.602 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.02071, allocations: 8.125 kB / 386.4 MB, free: 9.594 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.286e-05/0.02078, allocations: 24.12 kB / 386.4 MB, free: 9.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.02079, allocations: 8 kB / 386.4 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004098/0.02489, allocations: 1.208 MB / 387.6 MB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003608/0.0285, allocations: 1.852 MB / 389.5 MB, free: 6.434 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003101/0.0316, allocations: 0.7482 MB / 390.2 MB, free: 5.668 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/0.03333, allocations: 466.4 kB / 390.7 MB, free: 5.207 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.53e-05/0.0334, allocations: 12.56 kB / 390.7 MB, free: 5.195 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.03345, allocations: 39.69 kB / 390.7 MB, free: 5.148 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 2.485e-06/0.03345, allocations: 0 / 390.7 MB, free: 5.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=122): time 0.09499/0.1284, allocations: 15.57 MB / 406.3 MB, free: 5.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.996e-05/0.1285, allocations: 90.11 kB / 406.4 MB, free: 5.367 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000713/0.1293, allocations: 421.4 kB / 406.8 MB, free: 4.949 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002362/0.1295, allocations: 45.7 kB / 406.9 MB, free: 4.898 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.1297, allocations: 221.6 kB / 407.1 MB, free: 4.676 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006066/0.1303, allocations: 412.4 kB / 407.5 MB, free: 4.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007016/0.131, allocations: 202.9 kB / 407.7 MB, free: 4.066 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002641/0.1313, allocations: 378.7 kB / 408 MB, free: 3.688 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004174/0.1355, allocations: 1.357 MB / 409.4 MB, free: 2.328 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004246/0.1397, allocations: 1.501 MB / 410.9 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007471/0.1472, allocations: 2.452 MB / 413.4 MB, free: 14.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.1472, allocations: 4 kB / 413.4 MB, free: 14.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.008668/0.1559, allocations: 2.905 MB / 416.3 MB, free: 11.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.1559, allocations: 8 kB / 416.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.1559, allocations: 7.938 kB / 416.3 MB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.22e-05/0.1559, allocations: 12.25 kB / 416.3 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/0.1588, allocations: 403.3 kB / 416.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.633e-05/0.1589, allocations: 16 kB / 416.7 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/0.1611, allocations: 219.7 kB / 416.9 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/0.1613, allocations: 47.97 kB / 417 MB, free: 10.67 MB / 394.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.0006295/0.162, allocations: 233.5 kB / 417.2 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004467/0.1624, allocations: 103.6 kB / 417.3 MB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/0.1627, allocations: 112.7 kB / 417.4 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.1627, allocations: 12 kB / 417.4 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.1628, allocations: 4 kB / 417.4 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.1628, allocations: 7.969 kB / 417.4 MB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.1762, allocations: 4.803 MB / 422.2 MB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.675e-05/0.1762, allocations: 20 kB / 422.2 MB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/0.1779, allocations: 360.2 kB / 422.6 MB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.946e-05/0.1779, allocations: 28 kB / 422.6 MB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/0.178, allocations: 48 kB / 422.7 MB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.951e-05/0.1781, allocations: 43.8 kB / 422.7 MB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.849e-05/0.1781, allocations: 35.88 kB / 422.8 MB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008628/0.1867, allocations: 3.123 MB / 425.9 MB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000531/0.1873, allocations: 175.4 kB / 426 MB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.1875, allocations: 51.98 kB / 426.1 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.1889, allocations: 187.8 kB / 426.3 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005213/0.1894, allocations: 227.2 kB / 426.5 MB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.1895, allocations: 63.98 kB / 426.6 MB, free: 448 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004015/0.19, allocations: 279.1 kB / 426.8 MB, free: 168 kB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.19, allocations: 0 / 426.8 MB, free: 168 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.001158/0.1911, allocations: 240 kB / 427.1 MB, free: 15.93 MB / 410.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.000287/0.1914, allocations: 158.8 kB / 427.2 MB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007264/0.1987, allocations: 2.19 MB / 429.4 MB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.738e-05/0.1987, allocations: 7.938 kB / 429.4 MB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004039/0.2027, allocations: 1.059 MB / 430.5 MB, free: 12.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.2043, allocations: 210.2 kB / 430.7 MB, free: 12.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005121/0.2095, allocations: 1.961 MB / 432.6 MB, free: 10.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/0.21, allocations: 325.8 kB / 433 MB, free: 9.676 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001175/0.2112, allocations: 209.9 kB / 433.2 MB, free: 9.469 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006457/0.2118, allocations: 76.42 kB / 433.2 MB, free: 9.395 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2118, allocations: 0 / 433.2 MB, free: 9.395 MB / 410.7 MB Notification: Performance of Templates: time 0.1779/0.3897, allocations: 18.02 MB / 451.3 MB, free: 102.6 MB / 410.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins/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: 5.842307172017172]