Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00186/0.00186, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00221/0.00221, allocations: 161.7 kB / 24.26 MB, free: 176 kB / 18.57 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.5/1.5, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3671/0.3671, allocations: 32.81 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 375.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.406e-05/3.598e-05, allocations: 2.312 kB / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.004708/0.004744, allocations: 2.247 MB / 377.5 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002918/0.007663, allocations: 0.9512 MB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003967/0.008059, allocations: 11.88 kB / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006435/0.008703, allocations: 123.2 kB / 378.6 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000519/0.009222, allocations: 99.33 kB / 378.7 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.01048, allocations: 311.3 kB / 379 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001524/0.012, allocations: 0.7211 MB / 379.7 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.01222, allocations: 45.25 kB / 379.7 MB, free: 492 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009961/0.01322, allocations: 391.2 kB / 380.1 MB, free: 100 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008044/0.01402, allocations: 291.2 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002209/0.01424, allocations: 64 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.01442, allocations: 63.94 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003681/0.01479, allocations: 199.4 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004446/0.01523, allocations: 187.5 kB / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.0166, allocations: 0.6076 MB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.0166, allocations: 4 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.0166, allocations: 0 / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.418e-05/0.01663, allocations: 0 / 381.5 MB, free: 14.7 MB / 362.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.00414/0.02077, allocations: 0.8792 MB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.02081, allocations: 12.03 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003569/0.02117, allocations: 108.6 kB / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009523/0.02212, allocations: 320.4 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001033/0.02316, allocations: 0.6708 MB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.02333, allocations: 44.36 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003596/0.02692, allocations: 0.8208 MB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.02695, allocations: 192 / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.02705, allocations: 20.12 kB / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/0.02708, allocations: 15.94 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006325/0.03341, allocations: 1.212 MB / 385.6 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004849/0.03826, allocations: 1.856 MB / 387.5 MB, free: 8.445 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004647/0.0429, allocations: 0.7442 MB / 388.2 MB, free: 7.684 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002696/0.0456, allocations: 462.4 kB / 388.7 MB, free: 7.227 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.04572, allocations: 16.56 kB / 388.7 MB, free: 7.211 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.965e-05/0.04578, allocations: 39.69 kB / 388.7 MB, free: 7.164 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 4.829e-06/0.04578, allocations: 0 / 388.7 MB, free: 7.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=122): time 0.09525/0.141, allocations: 15.56 MB / 404.3 MB, free: 7.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.184e-05/0.1411, allocations: 90.11 kB / 404.4 MB, free: 7.391 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006465/0.1418, allocations: 425.4 kB / 404.8 MB, free: 6.969 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001801/0.1419, allocations: 45.7 kB / 404.8 MB, free: 6.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.1422, allocations: 217.6 kB / 405 MB, free: 6.699 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005388/0.1427, allocations: 420.4 kB / 405.4 MB, free: 6.285 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006131/0.1433, allocations: 198.9 kB / 405.6 MB, free: 6.086 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002303/0.1435, allocations: 374.7 kB / 406 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004055/0.1476, allocations: 1.357 MB / 407.4 MB, free: 4.352 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004349/0.1519, allocations: 1.509 MB / 408.9 MB, free: 2.801 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007484/0.1594, allocations: 2.456 MB / 411.3 MB, free: 312 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1594, allocations: 0 / 411.3 MB, free: 312 kB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.008981/0.1684, allocations: 2.906 MB / 414.2 MB, free: 13.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1684, allocations: 4.25 kB / 414.2 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.1684, allocations: 8 kB / 414.2 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.145e-05/0.1685, allocations: 8 kB / 414.3 MB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002869/0.1713, allocations: 411.4 kB / 414.7 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-05/0.1714, allocations: 8 kB / 414.7 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/0.1735, allocations: 223.7 kB / 414.9 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001964/0.1737, allocations: 39.98 kB / 414.9 MB, free: 12.7 MB / 394.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.0006188/0.1744, allocations: 237.2 kB / 415.2 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004514/0.1748, allocations: 107.6 kB / 415.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003509/0.1752, allocations: 104.7 kB / 415.4 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.1752, allocations: 12 kB / 415.4 MB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.036e-05/0.1752, allocations: 4 kB / 415.4 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.1752, allocations: 7.969 kB / 415.4 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/0.1886, allocations: 4.804 MB / 420.2 MB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.36e-05/0.1886, allocations: 20 kB / 420.2 MB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/0.1904, allocations: 363.3 kB / 420.6 MB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.79e-05/0.1904, allocations: 28 kB / 420.6 MB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.1905, allocations: 48 kB / 420.6 MB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.076e-05/0.1905, allocations: 43.86 kB / 420.7 MB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-05/0.1906, allocations: 31.88 kB / 420.7 MB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00874/0.1993, allocations: 3.139 MB / 423.9 MB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005998/0.1999, allocations: 175.4 kB / 424 MB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.2001, allocations: 55.98 kB / 424.1 MB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/0.2016, allocations: 191.8 kB / 424.3 MB, free: 2.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005621/0.2022, allocations: 227.2 kB / 424.5 MB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/0.2023, allocations: 59.98 kB / 424.5 MB, free: 2.449 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004001/0.2027, allocations: 275.1 kB / 424.8 MB, free: 2.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2027, allocations: 4 kB / 424.8 MB, free: 2.176 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001251/0.204, allocations: 235.9 kB / 425 MB, free: 1.945 MB / 394.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.0003163/0.2043, allocations: 167.4 kB / 425.2 MB, free: 1.773 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007424/0.2117, allocations: 2.187 MB / 427.4 MB, free: 15.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.01e-05/0.2117, allocations: 4 kB / 427.4 MB, free: 15.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00401/0.2157, allocations: 1.063 MB / 428.5 MB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.2173, allocations: 208.7 kB / 428.7 MB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004863/0.2222, allocations: 1.968 MB / 430.6 MB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.2226, allocations: 325.8 kB / 431 MB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00117/0.2238, allocations: 206 kB / 431.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006362/0.2244, allocations: 76.48 kB / 431.2 MB, free: 11.41 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2244, allocations: 0 / 431.2 MB, free: 11.41 MB / 410.7 MB Notification: Performance of Templates: time 0.1801/0.4046, allocations: 18.02 MB / 449.3 MB, free: 103.9 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.8638462639646605]