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.001881/0.001881, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.00195/0.00195, allocations: 173.2 kB / 23.53 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.443/1.443, allocations: 158.6 MB / 185.3 MB, free: 2.895 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.2187/0.2187, allocations: 32.37 MB / 270 MB, free: 14.63 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.823e-06/1.823e-06, allocations: 0 / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.557e-05/3.739e-05, allocations: 2.312 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002742/0.00278, allocations: 2.314 MB / 349.2 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.004188, allocations: 0.9678 MB / 350.2 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.004338, allocations: 11.88 kB / 350.2 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.004679, allocations: 111.3 kB / 350.3 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.004895, allocations: 111.2 kB / 350.4 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.005429, allocations: 299.4 kB / 350.7 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004981/0.005927, allocations: 0.7289 MB / 351.4 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.006063, allocations: 53.11 kB / 351.5 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003387/0.006402, allocations: 399.2 kB / 351.9 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.006708, allocations: 295.2 kB / 352.2 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.841e-05/0.006797, allocations: 60 kB / 352.2 MB, free: 4.465 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.385e-05/0.006881, allocations: 64 kB / 352.3 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.00705, allocations: 203.4 kB / 352.5 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.007185, allocations: 175.5 kB / 352.7 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004398/0.007625, allocations: 0.623 MB / 353.3 MB, free: 3.406 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.007629, allocations: 4 kB / 353.3 MB, free: 3.402 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.00763, allocations: 0 / 353.3 MB, free: 3.402 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.007637, allocations: 0 / 353.3 MB, free: 3.402 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.001766/0.009403, allocations: 0.9359 MB / 354.2 MB, free: 2.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.009433, allocations: 12.03 kB / 354.2 MB, free: 2.418 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.00958, allocations: 116.6 kB / 354.4 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.01003, allocations: 311.1 kB / 354.7 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003404/0.01037, allocations: 0.6591 MB / 355.3 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.374e-05/0.01045, allocations: 40.38 kB / 355.4 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.01202, allocations: 0.7275 MB / 356.1 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.01204, allocations: 4.125 kB / 356.1 MB, free: 360 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/0.01209, allocations: 20.12 kB / 356.1 MB, free: 340 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.0121, allocations: 12 kB / 356.1 MB, free: 328 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003218/0.01532, allocations: 0.9621 MB / 357.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003773/0.01909, allocations: 2.278 MB / 359.4 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002783/0.02187, allocations: 0.6604 MB / 360 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.02329, allocations: 385.1 kB / 360.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.392e-05/0.02339, allocations: 8 kB / 360.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.02343, allocations: 49.33 kB / 360.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 2.475e-06/0.02344, allocations: 0 / 360.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.04914/0.07258, allocations: 10.45 MB / 370.9 MB, free: 1.324 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/0.07266, allocations: 90.11 kB / 371 MB, free: 1.215 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/0.07327, allocations: 454.6 kB / 371.4 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.07342, allocations: 45.7 kB / 371.5 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.07367, allocations: 276.3 kB / 371.7 MB, free: 436 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005627/0.07423, allocations: 448.5 kB / 372.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008002/0.07503, allocations: 240.5 kB / 372.4 MB, free: 15.74 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003849/0.07542, allocations: 0.5857 MB / 373 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003908/0.07932, allocations: 1.209 MB / 374.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004159/0.08348, allocations: 1.435 MB / 375.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007396/0.09088, allocations: 2.338 MB / 378 MB, free: 10.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.09088, allocations: 4 kB / 378 MB, free: 10.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.008833/0.09972, allocations: 2.668 MB / 380.7 MB, free: 7.363 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.09974, allocations: 8 kB / 380.7 MB, free: 7.355 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.09976, allocations: 4 kB / 380.7 MB, free: 7.352 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/0.09979, allocations: 8 kB / 380.7 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002778/0.1026, allocations: 351.5 kB / 381 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.239e-05/0.1026, allocations: 8.219 kB / 381 MB, free: 6.992 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/0.105, allocations: 171.8 kB / 381.2 MB, free: 6.824 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/0.1052, allocations: 36 kB / 381.2 MB, free: 6.789 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.000557/0.1057, allocations: 260.2 kB / 381.5 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000384/0.1061, allocations: 103.6 kB / 381.6 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.1065, allocations: 116.7 kB / 381.7 MB, free: 6.309 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.1065, allocations: 12 kB / 381.7 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.1065, allocations: 4 kB / 381.7 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-05/0.1065, allocations: 3.984 kB / 381.7 MB, free: 6.289 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/0.1194, allocations: 4.966 MB / 386.7 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-05/0.1195, allocations: 23.94 kB / 386.7 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/0.1209, allocations: 308 kB / 387 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.578e-05/0.121, allocations: 28 kB / 387 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/0.1211, allocations: 48 kB / 387.1 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.593e-05/0.1211, allocations: 39.86 kB / 387.1 MB, free: 464 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.418e-05/0.1212, allocations: 31.88 kB / 387.2 MB, free: 432 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007537/0.1287, allocations: 3.063 MB / 390.2 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005237/0.1292, allocations: 175.4 kB / 390.4 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.1294, allocations: 51.98 kB / 390.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.1305, allocations: 135.9 kB / 390.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005107/0.1311, allocations: 239.1 kB / 390.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.1312, allocations: 56 kB / 390.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000363/0.1315, allocations: 283 kB / 391.1 MB, free: 12.03 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1315, allocations: 0 / 391.1 MB, free: 12.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001085/0.1326, allocations: 232 kB / 391.4 MB, free: 11.8 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.0002601/0.1329, allocations: 166.8 kB / 391.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006429/0.1393, allocations: 2.017 MB / 393.5 MB, free: 9.605 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/0.1393, allocations: 4 kB / 393.6 MB, free: 9.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002296/0.1416, allocations: 0.6865 MB / 394.2 MB, free: 8.918 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.143, allocations: 214.8 kB / 394.4 MB, free: 8.715 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004807/0.1478, allocations: 2.172 MB / 396.6 MB, free: 6.105 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.1482, allocations: 321.8 kB / 396.9 MB, free: 5.762 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001027/0.1493, allocations: 193.9 kB / 397.1 MB, free: 5.574 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006053/0.1499, allocations: 76.48 kB / 397.2 MB, free: 5.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1499, allocations: 0 / 397.2 MB, free: 5.5 MB / 330.7 MB Notification: Performance of Templates: time 0.03202/0.1819, allocations: 18.26 MB / 415.5 MB, free: 3.234 MB / 346.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 -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","/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.56291711400263]