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.001977/0.001977, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002062/0.002062, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.488/1.488, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 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.3661/0.3661, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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 2.315e-06/2.315e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.062e-05, allocations: 2.312 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.0041/0.00413, allocations: 2.256 MB / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.006056, allocations: 0.9435 MB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.00621, allocations: 11.88 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000403/0.006613, allocations: 123.2 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.006898, allocations: 103.3 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007284/0.007626, allocations: 299.4 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008877/0.008514, allocations: 0.725 MB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.00868, allocations: 45.25 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005048/0.009185, allocations: 391.2 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004327/0.009617, allocations: 295.1 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.009725, allocations: 64 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.009826, allocations: 60 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.01007, allocations: 207.4 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.01028, allocations: 167.6 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007692/0.01105, allocations: 0.6192 MB / 383.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.01105, allocations: 0 / 383.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01105, allocations: 0 / 383.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.01106, allocations: 0 / 383.5 MB, free: 12.6 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.002559/0.01362, allocations: 0.8792 MB / 384.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.01366, allocations: 19.97 kB / 384.4 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.01388, allocations: 112.6 kB / 384.5 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006575/0.01454, allocations: 316.4 kB / 384.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008988/0.01544, allocations: 0.6669 MB / 385.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.01555, allocations: 44.38 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.01793, allocations: 0.8208 MB / 386.3 MB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.01795, allocations: 4.125 kB / 386.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.222e-05/0.01802, allocations: 20.12 kB / 386.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.01804, allocations: 12 kB / 386.4 MB, free: 9.488 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004004/0.02204, allocations: 1.208 MB / 387.6 MB, free: 8.281 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003276/0.02532, allocations: 1.852 MB / 389.4 MB, free: 6.359 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003052/0.02837, allocations: 0.752 MB / 390.2 MB, free: 5.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/0.03002, allocations: 462.4 kB / 390.6 MB, free: 5.133 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.769e-05/0.03009, allocations: 12.56 kB / 390.6 MB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.829e-05/0.03014, allocations: 43.67 kB / 390.7 MB, free: 5.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 2.304e-06/0.03015, allocations: 0 / 390.7 MB, free: 5.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=122): time 0.09436/0.1245, allocations: 15.58 MB / 406.3 MB, free: 5.395 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.709e-05/0.1246, allocations: 90.11 kB / 406.3 MB, free: 5.285 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007074/0.1253, allocations: 421.4 kB / 406.8 MB, free: 4.867 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002033/0.1255, allocations: 45.7 kB / 406.8 MB, free: 4.816 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/0.1259, allocations: 225.5 kB / 407 MB, free: 4.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006125/0.1265, allocations: 412.4 kB / 407.4 MB, free: 4.184 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006792/0.1272, allocations: 198.9 kB / 407.6 MB, free: 3.984 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002515/0.1274, allocations: 378.7 kB / 408 MB, free: 3.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004062/0.1315, allocations: 1.353 MB / 409.3 MB, free: 2.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00422/0.1357, allocations: 1.509 MB / 410.8 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007445/0.1432, allocations: 2.456 MB / 413.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.1432, allocations: 0 / 413.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.008978/0.1521, allocations: 2.902 MB / 416.2 MB, free: 11.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.1522, allocations: 12.23 kB / 416.2 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.1522, allocations: 8 kB / 416.2 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.438e-05/0.1522, allocations: 8 kB / 416.2 MB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002889/0.1551, allocations: 407.4 kB / 416.6 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.76e-05/0.1552, allocations: 8 kB / 416.6 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/0.1573, allocations: 223.7 kB / 416.9 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.1575, allocations: 40 kB / 416.9 MB, free: 10.59 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.000555/0.1581, allocations: 229.5 kB / 417.1 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000429/0.1585, allocations: 103.6 kB / 417.2 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003217/0.1588, allocations: 116.7 kB / 417.3 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.1588, allocations: 12 kB / 417.3 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.1589, allocations: 0 / 417.3 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.1589, allocations: 3.984 kB / 417.3 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/0.1722, allocations: 4.81 MB / 422.2 MB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-05/0.1723, allocations: 25 kB / 422.2 MB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/0.174, allocations: 355.3 kB / 422.5 MB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.826e-05/0.174, allocations: 28 kB / 422.6 MB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/0.1742, allocations: 51.92 kB / 422.6 MB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.27e-05/0.1742, allocations: 43.86 kB / 422.7 MB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-05/0.1742, allocations: 31.88 kB / 422.7 MB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008558/0.1828, allocations: 3.12 MB / 425.8 MB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005929/0.1834, allocations: 171.4 kB / 426 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/0.1836, allocations: 55.98 kB / 426 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/0.1851, allocations: 195.8 kB / 426.2 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005647/0.1857, allocations: 223.2 kB / 426.4 MB, free: 436 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/0.1858, allocations: 64 kB / 426.5 MB, free: 372 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004349/0.1863, allocations: 279.1 kB / 426.8 MB, free: 88 kB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1863, allocations: 0 / 426.8 MB, free: 88 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.001324/0.1876, allocations: 236 kB / 427 MB, free: 15.85 MB / 410.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.0003466/0.1879, allocations: 166.8 kB / 427.2 MB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007501/0.1954, allocations: 2.195 MB / 429.4 MB, free: 13.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-05/0.1955, allocations: 0 / 429.4 MB, free: 13.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004024/0.1995, allocations: 1.063 MB / 430.4 MB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.2011, allocations: 208 kB / 430.6 MB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004944/0.2061, allocations: 1.961 MB / 432.6 MB, free: 9.945 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000528/0.2066, allocations: 333.7 kB / 432.9 MB, free: 9.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001189/0.2078, allocations: 201.9 kB / 433.1 MB, free: 9.391 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000645/0.2085, allocations: 72.48 kB / 433.2 MB, free: 9.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.603e-06/0.2085, allocations: 0 / 433.2 MB, free: 9.32 MB / 410.7 MB Notification: Performance of Templates: time 0.1765/0.3849, allocations: 18.01 MB / 451.2 MB, free: 102.8 MB / 410.7 MB " [Timeout remaining time 660] 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.1.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: 5.812468111049384]