Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001723/0.001723, allocations: 123.9 kB / 18.46 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002076/0.002076, allocations: 205.8 kB / 21.41 MB, free: 1.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.4 MB / 251.6 MB, free: 312 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2634/0.2634, allocations: 46.16 MB / 351.1 MB, free: 14.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002159, allocations: 72.3 kB / 490.2 MB, free: 28.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1547, allocations: 62.46 MB / 0.5397 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.0041/0.1588, allocations: 2.418 MB / 0.542 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.1609, allocations: 0.967 MB / 0.543 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.1611, allocations: 15.88 kB / 0.543 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004134/0.1615, allocations: 119.2 kB / 0.5431 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.1618, allocations: 91.39 kB / 0.5432 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006665/0.1625, allocations: 291.5 kB / 0.5435 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007775/0.1632, allocations: 0.7171 MB / 0.5442 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.1634, allocations: 72.98 kB / 0.5442 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003698/0.1638, allocations: 306.9 kB / 0.5445 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004232/0.1643, allocations: 326.8 kB / 0.5449 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.1644, allocations: 60 kB / 0.5449 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.511e-05/0.1645, allocations: 60 kB / 0.545 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.1647, allocations: 183.5 kB / 0.5451 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002463/0.1649, allocations: 238.8 kB / 0.5454 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006409/0.1656, allocations: 0.5564 MB / 0.5459 GB, free: 13.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1656, allocations: 0 / 0.5459 GB, free: 13.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1656, allocations: 0 / 0.5459 GB, free: 13.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.405e-06/0.1656, allocations: 4 kB / 0.5459 GB, free: 13.84 MB / 414.1 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.002282/0.1679, allocations: 0.9427 MB / 0.5468 GB, free: 12.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.168, allocations: 12.03 kB / 0.5468 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.1681, allocations: 64.61 kB / 0.5469 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.1687, allocations: 391.3 kB / 0.5473 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003621/0.169, allocations: 263.6 kB / 0.5475 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.64e-05/0.1691, allocations: 40.38 kB / 0.5476 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.1712, allocations: 0.8126 MB / 0.5484 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.1713, allocations: 7.938 kB / 0.5484 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.793e-05/0.1713, allocations: 16 kB / 0.5484 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.1714, allocations: 8 kB / 0.5484 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003616/0.175, allocations: 1.205 MB / 0.5496 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002986/0.178, allocations: 2.024 MB / 0.5515 GB, free: 7.828 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003133/0.1811, allocations: 0.8324 MB / 0.5524 GB, free: 6.977 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/0.1827, allocations: 489.3 kB / 0.5528 GB, free: 6.492 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.05e-05/0.1828, allocations: 11.98 kB / 0.5528 GB, free: 6.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.1828, allocations: 38.5 kB / 0.5529 GB, free: 6.434 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 1.723e-06/0.1828, allocations: 0 / 0.5529 GB, free: 6.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.08938/0.2722, allocations: 15.79 MB / 0.5683 GB, free: 6.469 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.2724, allocations: 90.23 kB / 0.5684 GB, free: 6.359 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006456/0.273, allocations: 397.4 kB / 0.5688 GB, free: 5.961 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001546/0.2732, allocations: 45.7 kB / 0.5688 GB, free: 5.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.2734, allocations: 217.6 kB / 0.569 GB, free: 5.691 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005162/0.2739, allocations: 424.4 kB / 0.5694 GB, free: 5.273 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005918/0.2745, allocations: 198.8 kB / 0.5696 GB, free: 5.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002469/0.2748, allocations: 378.8 kB / 0.57 GB, free: 4.691 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003964/0.2788, allocations: 1.334 MB / 0.5713 GB, free: 3.359 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004063/0.2828, allocations: 1.509 MB / 0.5727 GB, free: 1.805 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007322/0.2902, allocations: 2.437 MB / 0.5751 GB, free: 15.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.2902, allocations: 3.938 kB / 0.5751 GB, free: 15.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.008545/0.2988, allocations: 2.831 MB / 0.5779 GB, free: 12.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.2988, allocations: 8 kB / 0.5779 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.2989, allocations: 4 kB / 0.5779 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.895e-05/0.2989, allocations: 8 kB / 0.5779 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/0.3017, allocations: 411.4 kB / 0.5783 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.113e-05/0.3017, allocations: 15.88 kB / 0.5783 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/0.3037, allocations: 215.7 kB / 0.5785 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/0.3039, allocations: 39.98 kB / 0.5786 GB, free: 11.79 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 10 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,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 (148): * Single equations (assignments): 148 * 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.0005956/0.3045, allocations: 226.9 kB / 0.5788 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/0.3047, allocations: 67.62 kB / 0.5788 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.305, allocations: 108.7 kB / 0.5789 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.3051, allocations: 12 kB / 0.579 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.441e-05/0.3051, allocations: 7.938 kB / 0.579 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.3051, allocations: 7.969 kB / 0.579 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/0.3176, allocations: 5.228 MB / 0.5841 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-05/0.3176, allocations: 20 kB / 0.5841 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/0.3192, allocations: 359.6 kB / 0.5844 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.635e-05/0.3192, allocations: 28 kB / 0.5845 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.555e-05/0.3193, allocations: 47.98 kB / 0.5845 GB, free: 5.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.529e-05/0.3194, allocations: 39.86 kB / 0.5846 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.409e-05/0.3194, allocations: 35.81 kB / 0.5846 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007997/0.3274, allocations: 3.098 MB / 0.5876 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005168/0.328, allocations: 240.6 kB / 0.5878 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.3281, allocations: 51.98 kB / 0.5879 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.3295, allocations: 191.8 kB / 0.5881 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005179/0.33, allocations: 215.2 kB / 0.5883 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.3301, allocations: 56 kB / 0.5883 GB, free: 1.113 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003998/0.3305, allocations: 267.1 kB / 0.5886 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3305, allocations: 0 / 0.5886 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001144/0.3317, allocations: 232 kB / 0.5888 GB, free: 0.625 MB / 446.1 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: 6 (kinematicPTP2b.moving[1],kinematicPTP1b.moving[1],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 (120): * Single equations (assignments): 120 * 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.0003208/0.332, allocations: 176.3 kB / 0.589 GB, free: 456 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007084/0.3391, allocations: 2.394 MB / 0.5913 GB, free: 14.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.734e-05/0.3392, allocations: 4 kB / 0.5913 GB, free: 14.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003865/0.343, allocations: 1.065 MB / 0.5924 GB, free: 12.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.3446, allocations: 151.6 kB / 0.5925 GB, free: 12.85 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/0.3494, allocations: 1.958 MB / 0.5944 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000902/0.3503, allocations: 0.9243 MB / 0.5953 GB, free: 9.625 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001153/0.3514, allocations: 210 kB / 0.5955 GB, free: 9.418 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006649/0.3521, allocations: 71.42 kB / 0.5956 GB, free: 9.348 MB / 462.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3521, allocations: 0 / 0.5956 GB, free: 9.348 MB / 462.1 MB Notification: Performance of Templates: time 0.3798/0.7319, allocations: 16.78 MB / 0.612 GB, free: 62.14 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 6.266904031857848]