Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.001381/0.001381, allocations: 117.1 kB / 18.46 MB, free: 4.613 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.001463/0.001463, allocations: 205.8 kB / 21.4 MB, free: 1.668 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.492/1.492, allocations: 227.4 MB / 251.6 MB, free: 72 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.2298/0.2298, allocations: 46.17 MB / 351.1 MB, free: 14.27 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.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 76.42 kB / 490.2 MB, free: 28.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1312, allocations: 62.44 MB / 0.5397 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005868/0.1371, allocations: 3.299 MB / 0.5429 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.1393, allocations: 0.8373 MB / 0.5437 GB, free: 88 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006263/0.14, allocations: 11.94 kB / 0.5437 GB, free: 76 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003404/0.1404, allocations: 63.25 kB / 0.5438 GB, free: 12 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006822/0.1411, allocations: 178.5 kB / 0.5439 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.1415, allocations: 107.8 kB / 0.5441 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008737/0.1424, allocations: 0.5985 MB / 0.5446 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003948/0.1428, allocations: 177.3 kB / 0.5448 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003301/0.1431, allocations: 223.2 kB / 0.545 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.1435, allocations: 235 kB / 0.5452 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.146e-05/0.1435, allocations: 44 kB / 0.5453 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.633e-05/0.1436, allocations: 44 kB / 0.5453 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.1437, allocations: 103.6 kB / 0.5454 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002853/0.144, allocations: 266.7 kB / 0.5457 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007157/0.1448, allocations: 0.5524 MB / 0.5462 GB, free: 13.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1448, allocations: 4 kB / 0.5462 GB, free: 13.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1448, allocations: 4 kB / 0.5462 GB, free: 13.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.1448, allocations: 0 / 0.5462 GB, free: 13.49 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001321/0.1461, allocations: 0.7712 MB / 0.547 GB, free: 12.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.1462, allocations: 8.031 kB / 0.547 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.1463, allocations: 60.61 kB / 0.547 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006223/0.1469, allocations: 322.6 kB / 0.5474 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.017e-05/0.147, allocations: 37.38 kB / 0.5474 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-05/0.1471, allocations: 60.27 kB / 0.5474 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007583/0.1478, allocations: 434.9 kB / 0.5479 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/0.1479, allocations: 11.94 kB / 0.5479 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.903e-05/0.1479, allocations: 23.94 kB / 0.5479 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.148, allocations: 16 kB / 0.5479 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00051/0.1485, allocations: 316.4 kB / 0.5482 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.1502, allocations: 1.138 MB / 0.5493 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007775/0.151, allocations: 493.9 kB / 0.5498 GB, free: 9.633 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.1513, allocations: 214.9 kB / 0.55 GB, free: 9.418 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.1514, allocations: 8.375 kB / 0.55 GB, free: 9.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.1514, allocations: 43 kB / 0.55 GB, free: 9.359 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.354e-06/0.1514, allocations: 4.031 kB / 0.5501 GB, free: 9.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003126/0.1545, allocations: 2.14 MB / 0.5521 GB, free: 7.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.568e-05/0.1546, allocations: 81.67 kB / 0.5522 GB, free: 6.949 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.1549, allocations: 255 kB / 0.5525 GB, free: 6.691 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.155, allocations: 41.64 kB / 0.5525 GB, free: 6.645 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.1551, allocations: 209.4 kB / 0.5527 GB, free: 6.438 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.1553, allocations: 289.5 kB / 0.553 GB, free: 6.152 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.1555, allocations: 118.6 kB / 0.5531 GB, free: 6.031 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.1557, allocations: 358.7 kB / 0.5534 GB, free: 5.672 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.156, allocations: 161.9 kB / 0.5536 GB, free: 5.516 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.1563, allocations: 276.8 kB / 0.5539 GB, free: 5.211 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006692/0.157, allocations: 468.1 kB / 0.5543 GB, free: 4.719 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.157, allocations: 4 kB / 0.5543 GB, free: 4.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008479/0.1579, allocations: 0.571 MB / 0.5549 GB, free: 4.137 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.1579, allocations: 4 kB / 0.5549 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.1579, allocations: 4 kB / 0.5549 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.1579, allocations: 8 kB / 0.5549 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/0.1585, allocations: 191.9 kB / 0.5551 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.1586, allocations: 4 kB / 0.5551 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.1588, allocations: 24 kB / 0.5551 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.1588, allocations: 27.94 kB / 0.5551 GB, free: 3.879 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * 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.0002101/0.1591, allocations: 181.6 kB / 0.5553 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.728e-05/0.1592, allocations: 47.72 kB / 0.5553 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.1593, allocations: 59.64 kB / 0.5554 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.1593, allocations: 8 kB / 0.5554 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.1593, allocations: 4 kB / 0.5554 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.1593, allocations: 3.984 kB / 0.5554 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.1613, allocations: 1.444 MB / 0.5568 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1613, allocations: 0 / 0.5568 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006309/0.162, allocations: 163.8 kB / 0.557 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.162, allocations: 4.344 kB / 0.557 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.162, allocations: 23.94 kB / 0.557 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/0.162, allocations: 11.94 kB / 0.557 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.162, allocations: 4 kB / 0.557 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.1632, allocations: 0.9158 MB / 0.5579 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.1633, allocations: 116.8 kB / 0.558 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.766e-05/0.1633, allocations: 23.94 kB / 0.558 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.1636, allocations: 19.98 kB / 0.5581 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.256e-05/0.1637, allocations: 52.31 kB / 0.5581 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.1637, allocations: 20 kB / 0.5581 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.1639, allocations: 181.9 kB / 0.5583 GB, free: 428 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1639, allocations: 4 kB / 0.5583 GB, free: 424 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004955/0.1644, allocations: 144 kB / 0.5584 GB, free: 280 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0001417/0.1645, allocations: 119.1 kB / 0.5586 GB, free: 152 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007131/0.1653, allocations: 451.6 kB / 0.559 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1653, allocations: 0.5625 kB / 0.559 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003663/0.1656, allocations: 242.2 kB / 0.5592 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007889/0.1664, allocations: 138 kB / 0.5593 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.1689, allocations: 1.675 MB / 0.561 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.1694, allocations: 0.8485 MB / 0.5618 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002146/0.1696, allocations: 56.66 kB / 0.5619 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.1697, allocations: 47.38 kB / 0.5619 GB, free: 12.62 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1697, allocations: 0 / 0.5619 GB, free: 12.62 MB / 430.1 MB Notification: Performance of Templates: time 0.01107/0.1808, allocations: 5.421 MB / 0.5672 GB, free: 7.266 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.143188311718404]