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.0008375/0.0008375, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009707/0.001808, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0006622/0.0006622, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008236/0.001486, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.8675/0.8675, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1594/1.027, allocations: 49.51 MB / 220.5 MB, free: 5.277 MB / 218.7 MB " [Timeout remaining time 179] 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.1305/0.1305, allocations: 32.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02237/0.1529, allocations: 12.3 MB / 265.9 MB, free: 7.836 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 1.373e-06/1.373e-06, allocations: 0 / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.819e-05, allocations: 10.25 kB / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002354/0.002372, allocations: 2.361 MB / 269.6 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.003567, allocations: 0.9948 MB / 270.6 MB, free: 3.148 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.003685, allocations: 7.938 kB / 270.6 MB, free: 3.141 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.003911, allocations: 119.2 kB / 270.7 MB, free: 3.023 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.004075, allocations: 107.2 kB / 270.8 MB, free: 2.918 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.004514, allocations: 299.4 kB / 271.1 MB, free: 2.625 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004786/0.004993, allocations: 0.7211 MB / 271.8 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.005102, allocations: 49.09 kB / 271.9 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.005429, allocations: 447.6 kB / 272.3 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.005671, allocations: 291.2 kB / 272.6 MB, free: 1.129 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.527e-05/0.005737, allocations: 64 kB / 272.6 MB, free: 1.066 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.352e-05/0.00579, allocations: 60 kB / 272.7 MB, free: 1.008 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.005904, allocations: 155.6 kB / 272.9 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.006118, allocations: 119.7 kB / 273 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.006425, allocations: 406.6 kB / 273.4 MB, free: 348 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.006436, allocations: 0 / 273.4 MB, free: 348 kB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.006437, allocations: 0 / 273.4 MB, free: 348 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.006451, allocations: 0 / 273.4 MB, free: 348 kB / 266.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.001052/0.007504, allocations: 0.8659 MB / 274.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.688e-05/0.007531, allocations: 8.031 kB / 274.2 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.523e-05/0.007626, allocations: 100.9 kB / 274.3 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.007916, allocations: 268.3 kB / 274.6 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002862/0.008203, allocations: 0.6591 MB / 275.3 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.934e-05/0.008262, allocations: 44.36 kB / 275.3 MB, free: 14.21 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000571/0.008833, allocations: 0.5237 MB / 275.8 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.008846, allocations: 192 / 275.8 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.008879, allocations: 20.12 kB / 275.8 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.008889, allocations: 19.92 kB / 275.9 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004589/0.009348, allocations: 333.5 kB / 276.2 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.01077, allocations: 1.431 MB / 277.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006019/0.01137, allocations: 441.6 kB / 278.1 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.01153, allocations: 143.6 kB / 278.2 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.587e-05/0.01158, allocations: 15.98 kB / 278.2 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.01161, allocations: 46.44 kB / 278.3 MB, free: 11.13 MB / 282.7 MB Notification: Performance of pre-optimization done (n=66): time 1.553e-06/0.01161, allocations: 4 kB / 278.3 MB, free: 11.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.01641/0.02802, allocations: 7.704 MB / 286 MB, free: 3.332 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.02806, allocations: 90.11 kB / 286.1 MB, free: 3.227 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.02828, allocations: 331.1 kB / 286.4 MB, free: 2.895 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.625e-05/0.02836, allocations: 45.7 kB / 286.4 MB, free: 2.844 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/0.02844, allocations: 198 kB / 286.6 MB, free: 2.645 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.02867, allocations: 420.3 kB / 287 MB, free: 2.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002981/0.02897, allocations: 202.8 kB / 287.2 MB, free: 2.027 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.02907, allocations: 382.6 kB / 287.6 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004783/0.02955, allocations: 421.4 kB / 288 MB, free: 1.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/0.0301, allocations: 0.5683 MB / 288.6 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009571/0.03106, allocations: 0.9975 MB / 289.6 MB, free: 15.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.03106, allocations: 3.938 kB / 289.6 MB, free: 15.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001511/0.03257, allocations: 1.1 MB / 290.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.03259, allocations: 8 kB / 290.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.0326, allocations: 4 kB / 290.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.03262, allocations: 8 kB / 290.7 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.0338, allocations: 391.4 kB / 291.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.03381, allocations: 8 kB / 291.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006699/0.03448, allocations: 171.8 kB / 291.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.467e-05/0.03455, allocations: 31.98 kB / 291.3 MB, free: 13.85 MB / 298.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 (integrator.local_reset,integrator1.local_reset,integrator2.local_reset,integrator3.local_reset,kinematicPTP1b.noWphase,kinematicPTP1b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.motion_ref,kinematicPTP2b.moving[1],kinematicPTP2a.noWphase) * 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.0002768/0.03483, allocations: 180.4 kB / 291.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.035, allocations: 75.94 kB / 291.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.03511, allocations: 112.7 kB / 291.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.03512, allocations: 12 kB / 291.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.03512, allocations: 0 / 291.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.03513, allocations: 7.984 kB / 291.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003373/0.03851, allocations: 2.587 MB / 294.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/0.03852, allocations: 20 kB / 294.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006192/0.03914, allocations: 328.4 kB / 294.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.03932, allocations: 103.5 kB / 294.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.781e-05/0.03933, allocations: 31.94 kB / 294.7 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/0.03938, allocations: 44 kB / 294.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.919e-05/0.0394, allocations: 51.72 kB / 294.8 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.459e-05/0.03941, allocations: 31.88 kB / 294.8 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.04062, allocations: 1.618 MB / 296.5 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.944e-05/0.0407, allocations: 51.97 kB / 296.5 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/0.04118, allocations: 135.8 kB / 296.7 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.0414, allocations: 211.2 kB / 296.9 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.04145, allocations: 56 kB / 296.9 MB, free: 7.598 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.235e-05/0.04154, allocations: 116.7 kB / 297 MB, free: 7.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04154, allocations: 0 / 297 MB, free: 7.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005967/0.04214, allocations: 236 kB / 297.3 MB, free: 7.25 MB / 298.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.0004101/0.04255, allocations: 159.8 kB / 297.4 MB, free: 7.086 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009834/0.04353, allocations: 0.9017 MB / 298.3 MB, free: 6.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.517e-05/0.04356, allocations: 12 kB / 298.3 MB, free: 6.168 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.04391, allocations: 356 kB / 298.7 MB, free: 5.824 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007242/0.04463, allocations: 254.1 kB / 298.9 MB, free: 5.578 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.04694, allocations: 2.051 MB / 301 MB, free: 3.199 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.04708, allocations: 189 kB / 301.2 MB, free: 2.996 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005628/0.04764, allocations: 158 kB / 301.3 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005529/0.0482, allocations: 191.3 kB / 301.5 MB, free: 2.652 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.0482, allocations: 0 / 301.5 MB, free: 2.652 MB / 298.7 MB Notification: Performance of Templates: time 0.01959/0.06779, allocations: 19.5 MB / 321 MB, free: 15.04 MB / 330.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0438216999173164]