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.001098/0.001098, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001703/0.002801, allocations: 449.8 kB / 10.44 MB, free: 252 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.001137/0.001137, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001539/0.002676, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9513/0.9513, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09284/1.044, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.2574/0.2574, allocations: 34.24 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02355/0.2809, allocations: 13.1 MB / 291.5 MB, free: 7.336 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.553e-06/1.553e-06, allocations: 0 / 292.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.57e-05, allocations: 4.062 kB / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003716/0.003741, allocations: 2.382 MB / 295.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.005496, allocations: 0.9827 MB / 296.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003301/0.005826, allocations: 15.94 kB / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.006102, allocations: 115.2 kB / 296.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.00634, allocations: 99.33 kB / 296.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000633/0.006973, allocations: 303.3 kB / 296.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007489/0.007722, allocations: 0.7056 MB / 297.4 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.007861, allocations: 53.05 kB / 297.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005532/0.008414, allocations: 443.8 kB / 297.9 MB, free: 1.113 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004178/0.008832, allocations: 291.2 kB / 298.2 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.008946, allocations: 68 kB / 298.3 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.98e-05/0.009046, allocations: 60 kB / 298.3 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.009208, allocations: 143.6 kB / 298.5 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.009357, allocations: 119.7 kB / 298.6 MB, free: 456 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004514/0.009808, allocations: 394.6 kB / 299 MB, free: 60 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.009819, allocations: 0 / 299 MB, free: 60 kB / 282.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.009819, allocations: 0 / 299 MB, free: 60 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.009836, allocations: 0 / 299 MB, free: 60 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.001865/0.0117, allocations: 0.8789 MB / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.77e-05/0.01173, allocations: 8.031 kB / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.01183, allocations: 96.88 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.01211, allocations: 256.5 kB / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002903/0.0124, allocations: 0.6591 MB / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.505e-05/0.01246, allocations: 44.33 kB / 300.9 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005893/0.01305, allocations: 0.5314 MB / 301.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.01306, allocations: 192 / 301.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.0131, allocations: 20.12 kB / 301.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.01311, allocations: 12 kB / 301.5 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.01358, allocations: 336.5 kB / 301.8 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.01479, allocations: 1.435 MB / 303.2 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005995/0.01538, allocations: 441.7 kB / 303.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.01555, allocations: 134.7 kB / 303.8 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.59e-05/0.01561, allocations: 12.56 kB / 303.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.01563, allocations: 39.69 kB / 303.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 1.613e-06/0.01563, allocations: 3.938 kB / 303.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.01685/0.03249, allocations: 7.771 MB / 311.6 MB, free: 3.008 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.03253, allocations: 90.11 kB / 311.7 MB, free: 2.898 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.03275, allocations: 327.2 kB / 312 MB, free: 2.566 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.03286, allocations: 45.7 kB / 312.1 MB, free: 2.516 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.6e-05/0.03295, allocations: 198 kB / 312.2 MB, free: 2.316 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.0332, allocations: 424.2 kB / 312.7 MB, free: 1.898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003044/0.0335, allocations: 206.8 kB / 312.9 MB, free: 1.691 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.03361, allocations: 382.6 kB / 313.2 MB, free: 1.309 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.03409, allocations: 417.4 kB / 313.6 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/0.03462, allocations: 0.5682 MB / 314.2 MB, free: 292 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009818/0.0356, allocations: 1.017 MB / 315.2 MB, free: 15.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.0356, allocations: 3.938 kB / 315.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001361/0.03696, allocations: 1.084 MB / 316.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.03698, allocations: 8 kB / 316.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.03699, allocations: 4.312 kB / 316.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.03701, allocations: 12 kB / 316.3 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.03817, allocations: 391.4 kB / 316.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.03818, allocations: 12 kB / 316.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006532/0.03883, allocations: 163.8 kB / 316.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.436e-05/0.03891, allocations: 31.98 kB / 316.9 MB, free: 13.51 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.0002854/0.03919, allocations: 180.4 kB / 317.1 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/0.03944, allocations: 75.94 kB / 317.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.03955, allocations: 104.7 kB / 317.3 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.03956, allocations: 12 kB / 317.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.03956, allocations: 8 kB / 317.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.03957, allocations: 7.969 kB / 317.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003537/0.04311, allocations: 2.593 MB / 319.9 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.04312, allocations: 23.98 kB / 319.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006353/0.04376, allocations: 324.2 kB / 320.2 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.04394, allocations: 107.5 kB / 320.3 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.655e-05/0.04396, allocations: 31.94 kB / 320.4 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.018e-05/0.04401, allocations: 48 kB / 320.4 MB, free: 9.699 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.038e-05/0.04403, allocations: 39.86 kB / 320.5 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.504e-05/0.04404, allocations: 35.86 kB / 320.5 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.04553, allocations: 1.614 MB / 322.1 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.368e-05/0.04561, allocations: 51.98 kB / 322.2 MB, free: 7.664 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/0.04609, allocations: 139.8 kB / 322.3 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.04632, allocations: 203.2 kB / 322.5 MB, free: 7.328 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.145e-05/0.04638, allocations: 51.98 kB / 322.5 MB, free: 7.277 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.994e-05/0.04648, allocations: 124.7 kB / 322.7 MB, free: 7.148 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04648, allocations: 0 / 322.7 MB, free: 7.148 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005824/0.04706, allocations: 232 kB / 322.9 MB, free: 6.922 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.0001583/0.04722, allocations: 152.5 kB / 323 MB, free: 6.762 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.04823, allocations: 0.9243 MB / 324 MB, free: 5.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.291e-05/0.04825, allocations: 12 kB / 324 MB, free: 5.828 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005587/0.04881, allocations: 434.5 kB / 324.4 MB, free: 5.414 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008526/0.04966, allocations: 0.6351 MB / 325 MB, free: 4.695 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.05197, allocations: 2.058 MB / 327.1 MB, free: 2.309 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.05211, allocations: 192.9 kB / 327.3 MB, free: 2.098 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005501/0.05266, allocations: 166 kB / 327.4 MB, free: 1.934 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005655/0.05322, allocations: 183.3 kB / 327.6 MB, free: 1.754 MB / 314.7 MB Notification: Performance of SimCode: time 1.412e-06/0.05323, allocations: 0 / 327.6 MB, free: 1.754 MB / 314.7 MB Notification: Performance of Templates: time 0.01933/0.07255, allocations: 19.45 MB / 347.1 MB, free: 14.45 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.263038892298937]