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.001057/0.001057, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001618/0.002674, allocations: 449.7 kB / 10.37 MB, free: 328 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.001199/0.001199, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001484/0.002682, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.044/1.044, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09655/1.14, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.2804/0.2804, allocations: 34.24 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02585/0.3063, allocations: 13.1 MB / 291.3 MB, free: 7.379 MB / 282.7 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 1.323e-06/1.323e-06, allocations: 0 / 292.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.252e-05, allocations: 2.312 kB / 292.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.00333/0.003352, allocations: 2.382 MB / 295 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.004635, allocations: 0.9827 MB / 296 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.004786, allocations: 11.88 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.005038, allocations: 115.2 kB / 296.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.005209, allocations: 111.3 kB / 296.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.005595, allocations: 295.4 kB / 296.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005746/0.006169, allocations: 0.7056 MB / 297.2 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.006275, allocations: 53.59 kB / 297.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003254/0.006601, allocations: 443.8 kB / 297.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.006847, allocations: 287.2 kB / 298 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.946e-05/0.006917, allocations: 63.94 kB / 298 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.669e-05/0.006973, allocations: 64 kB / 298.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.007085, allocations: 147.6 kB / 298.2 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.687e-05/0.007182, allocations: 119.7 kB / 298.4 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.007494, allocations: 390.7 kB / 298.7 MB, free: 176 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.007504, allocations: 4 kB / 298.7 MB, free: 172 kB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.007505, allocations: 0 / 298.7 MB, free: 172 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.007517, allocations: 3.938 kB / 298.7 MB, free: 168 kB / 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.001055/0.008572, allocations: 0.8752 MB / 299.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.739e-05/0.008599, allocations: 8.031 kB / 299.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.008731, allocations: 100.9 kB / 299.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.009023, allocations: 252.5 kB / 300 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003294/0.009352, allocations: 0.663 MB / 300.6 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.693e-05/0.009409, allocations: 48.31 kB / 300.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000598/0.01001, allocations: 0.5158 MB / 301.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.01002, allocations: 4.172 kB / 301.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.01005, allocations: 24.12 kB / 301.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.01006, allocations: 12 kB / 301.2 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004596/0.01052, allocations: 343.4 kB / 301.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.01187, allocations: 1.423 MB / 303 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006278/0.01249, allocations: 452.4 kB / 303.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.01266, allocations: 138.7 kB / 303.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.383e-05/0.01271, allocations: 12.56 kB / 303.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.01273, allocations: 39.69 kB / 303.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 1.753e-06/0.01274, allocations: 0 / 303.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.01644/0.02917, allocations: 7.714 MB / 311.3 MB, free: 3.164 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.02922, allocations: 94.11 kB / 311.4 MB, free: 3.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.02947, allocations: 331.1 kB / 311.8 MB, free: 2.719 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.403e-05/0.02957, allocations: 45.7 kB / 311.8 MB, free: 2.668 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.103e-05/0.02966, allocations: 194 kB / 312 MB, free: 2.473 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.0299, allocations: 424.2 kB / 312.4 MB, free: 2.055 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000303/0.0302, allocations: 198.8 kB / 312.6 MB, free: 1.855 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.03031, allocations: 382.6 kB / 313 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/0.03081, allocations: 421.4 kB / 313.4 MB, free: 1.055 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/0.03135, allocations: 0.5722 MB / 314 MB, free: 448 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000991/0.03234, allocations: 0.9925 MB / 314.9 MB, free: 15.4 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.03234, allocations: 3.938 kB / 314.9 MB, free: 15.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001283/0.03363, allocations: 1.099 MB / 316 MB, free: 14.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.03365, allocations: 4 kB / 316.1 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.03366, allocations: 8 kB / 316.1 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.03368, allocations: 8 kB / 316.1 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.03485, allocations: 395.7 kB / 316.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.03486, allocations: 11.94 kB / 316.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006684/0.03553, allocations: 163.8 kB / 316.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.673e-05/0.0356, allocations: 31.98 kB / 316.7 MB, free: 13.68 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 (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.0002622/0.03587, allocations: 184.4 kB / 316.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.03604, allocations: 75.94 kB / 316.9 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.03616, allocations: 116.7 kB / 317 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.03617, allocations: 12 kB / 317 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.03618, allocations: 0 / 317 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.03619, allocations: 3.984 kB / 317 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003659/0.03985, allocations: 2.588 MB / 319.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/0.03986, allocations: 20 kB / 319.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/0.0405, allocations: 323.5 kB / 320 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.0407, allocations: 107.5 kB / 320.1 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.907e-05/0.04072, allocations: 35.92 kB / 320.1 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.937e-05/0.04077, allocations: 44 kB / 320.1 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.047e-05/0.04079, allocations: 48 kB / 320.2 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.646e-05/0.0408, allocations: 35.81 kB / 320.2 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.04218, allocations: 1.606 MB / 321.8 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.014e-05/0.04226, allocations: 47.98 kB / 321.9 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004792/0.04274, allocations: 143.8 kB / 322 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/0.04297, allocations: 207.2 kB / 322.2 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.04302, allocations: 52 kB / 322.3 MB, free: 7.449 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.04312, allocations: 120.7 kB / 322.4 MB, free: 7.324 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04312, allocations: 0 / 322.4 MB, free: 7.324 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006105/0.04373, allocations: 232 kB / 322.6 MB, free: 7.098 MB / 314.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.0001625/0.04389, allocations: 160.5 kB / 322.8 MB, free: 6.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.04505, allocations: 0.9128 MB / 323.7 MB, free: 6.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.714e-05/0.04509, allocations: 12 kB / 323.7 MB, free: 6.008 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004179/0.04551, allocations: 351.8 kB / 324 MB, free: 5.668 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009184/0.04642, allocations: 254.2 kB / 324.3 MB, free: 5.426 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.04889, allocations: 2.066 MB / 326.4 MB, free: 3.031 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.04904, allocations: 180.9 kB / 326.5 MB, free: 2.832 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005821/0.04962, allocations: 169.9 kB / 326.7 MB, free: 2.664 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005492/0.05017, allocations: 183.3 kB / 326.9 MB, free: 2.484 MB / 314.7 MB Notification: Performance of SimCode: time 1.393e-06/0.05017, allocations: 0 / 326.9 MB, free: 2.484 MB / 314.7 MB Notification: Performance of Templates: time 0.02086/0.07103, allocations: 19.38 MB / 346.3 MB, free: 15.23 MB / 346.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 240] 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","",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.272638880647719]