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.001547/0.001547, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001706/0.001706, allocations: 173 kB / 24.06 MB, free: 456 kB / 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 0.9669/0.9669, allocations: 158.6 MB / 185.9 MB, free: 2.789 MB / 170.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.132/0.132, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.763e-06/1.763e-06, allocations: 0 / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.233e-05, allocations: 8.281 kB / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.008536/0.008558, allocations: 2.317 MB / 350.4 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.009803, allocations: 0.96 MB / 351.4 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.009948, allocations: 15.88 kB / 351.4 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.01025, allocations: 123.2 kB / 351.5 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.01045, allocations: 111.2 kB / 351.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.01089, allocations: 287.4 kB / 351.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004502/0.01134, allocations: 0.7328 MB / 352.6 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00313/0.01447, allocations: 53.05 kB / 352.7 MB, free: 4.562 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003304/0.0148, allocations: 399.2 kB / 353.1 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.01506, allocations: 291.2 kB / 353.4 MB, free: 3.887 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.108e-05/0.01513, allocations: 60 kB / 353.4 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.14e-05/0.01519, allocations: 68 kB / 353.5 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.01531, allocations: 211.3 kB / 353.7 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.01542, allocations: 183.5 kB / 353.9 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.01575, allocations: 454.5 kB / 354.3 MB, free: 2.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.01575, allocations: 3.938 kB / 354.3 MB, free: 2.926 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01575, allocations: 0 / 354.3 MB, free: 2.926 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.01575, allocations: 0 / 354.3 MB, free: 2.926 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.001129/0.01688, allocations: 0.9205 MB / 355.3 MB, free: 1.969 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.01692, allocations: 12.02 kB / 355.3 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.01704, allocations: 112.6 kB / 355.4 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003334/0.02037, allocations: 303.2 kB / 355.7 MB, free: 1.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/0.02062, allocations: 0.663 MB / 356.3 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.429e-05/0.02068, allocations: 40.38 kB / 356.4 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006851/0.02137, allocations: 0.5446 MB / 356.9 MB, free: 84 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.02138, allocations: 8.172 kB / 356.9 MB, free: 76 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/0.02142, allocations: 24.11 kB / 356.9 MB, free: 52 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.02143, allocations: 12 kB / 357 MB, free: 40 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007/0.02213, allocations: 381 kB / 357.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004979/0.02711, allocations: 2.118 MB / 359.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009136/0.02803, allocations: 389.5 kB / 359.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.02832, allocations: 149.2 kB / 360 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.601e-05/0.02839, allocations: 12 kB / 360 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.02843, allocations: 45.33 kB / 360 MB, free: 12.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 2.305e-06/0.02843, allocations: 0 / 360 MB, free: 12.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.02236/0.05079, allocations: 7.18 MB / 367.2 MB, free: 5.578 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.05084, allocations: 94.11 kB / 367.3 MB, free: 5.469 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.05118, allocations: 410.3 kB / 367.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.05129, allocations: 45.7 kB / 367.8 MB, free: 5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.05144, allocations: 268.2 kB / 368 MB, free: 4.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007404/0.05218, allocations: 420.3 kB / 368.4 MB, free: 4.316 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005027/0.05269, allocations: 212.4 kB / 368.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.0529, allocations: 0.5546 MB / 369.2 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000846/0.05375, allocations: 0.5062 MB / 369.7 MB, free: 3.027 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009686/0.05471, allocations: 0.7082 MB / 370.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/0.05633, allocations: 1.081 MB / 371.5 MB, free: 1.117 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.05634, allocations: 3.984 kB / 371.5 MB, free: 1.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002415/0.05875, allocations: 1.368 MB / 372.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.05878, allocations: 8 kB / 372.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.05879, allocations: 4 kB / 372.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.05881, allocations: 8 kB / 372.9 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.06052, allocations: 355.8 kB / 373.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/0.06053, allocations: 8 kB / 373.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.06164, allocations: 163.8 kB / 373.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.06177, allocations: 27.98 kB / 373.4 MB, free: 15.18 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.0003613/0.06213, allocations: 224.3 kB / 373.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.06235, allocations: 107.6 kB / 373.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.06246, allocations: 116.7 kB / 373.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.06247, allocations: 12 kB / 373.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.06247, allocations: 3.984 kB / 373.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.06248, allocations: 3.984 kB / 373.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004304/0.06678, allocations: 3.125 MB / 377 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.0668, allocations: 20 kB / 377 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006457/0.06745, allocations: 307.4 kB / 377.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.115e-05/0.06747, allocations: 31.98 kB / 377.3 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-05/0.06753, allocations: 47.94 kB / 377.4 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-05/0.06755, allocations: 39.86 kB / 377.4 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.14e-05/0.06757, allocations: 31.88 kB / 377.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.06923, allocations: 1.981 MB / 379.4 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/0.06949, allocations: 167.4 kB / 379.6 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.917e-05/0.06957, allocations: 47.92 kB / 379.7 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005525/0.07012, allocations: 139.9 kB / 379.8 MB, free: 7.957 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002577/0.07038, allocations: 211.2 kB / 380 MB, free: 7.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/0.07043, allocations: 52 kB / 380 MB, free: 7.699 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001521/0.07058, allocations: 243 kB / 380.3 MB, free: 7.465 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.07058, allocations: 3.938 kB / 380.3 MB, free: 7.461 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006594/0.07124, allocations: 236 kB / 380.5 MB, free: 7.23 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.0001605/0.0714, allocations: 166.7 kB / 380.7 MB, free: 7.055 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.07255, allocations: 1.006 MB / 381.7 MB, free: 6.043 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.07256, allocations: 8.062 kB / 381.7 MB, free: 6.035 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007151/0.07327, allocations: 342.8 kB / 382 MB, free: 5.703 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/0.07403, allocations: 208.1 kB / 382.2 MB, free: 5.504 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.07594, allocations: 1.992 MB / 384.2 MB, free: 3.078 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.07609, allocations: 189 kB / 384.4 MB, free: 2.871 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005311/0.07662, allocations: 165.9 kB / 384.6 MB, free: 2.707 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005783/0.0772, allocations: 202.2 kB / 384.8 MB, free: 2.508 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.0772, allocations: 0 / 384.8 MB, free: 2.508 MB / 314.7 MB Notification: Performance of Templates: time 0.0192/0.0964, allocations: 19.55 MB / 404.3 MB, free: 14.97 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","",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.44828038290143]