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.001365/0.001365, allocations: 113.9 kB / 19.13 MB, free: 3.938 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.001456/0.001456, allocations: 204.9 kB / 22.08 MB, free: 0.9922 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.48/1.48, allocations: 227.4 MB / 252.3 MB, free: 60 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.2353/0.2353, allocations: 46.17 MB / 351.8 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.00222/0.00222, allocations: 81.77 kB / 490.8 MB, free: 28.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1249, allocations: 62.45 MB / 0.5403 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004924/0.1298, allocations: 3.286 MB / 0.5435 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.1316, allocations: 0.8334 MB / 0.5444 GB, free: 220 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.1318, allocations: 7.938 kB / 0.5444 GB, free: 212 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.1321, allocations: 71.23 kB / 0.5444 GB, free: 140 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003653/0.1325, allocations: 178.5 kB / 0.5446 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.1328, allocations: 107.8 kB / 0.5447 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006793/0.1335, allocations: 0.5986 MB / 0.5453 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.1338, allocations: 177.3 kB / 0.5455 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.1341, allocations: 219.2 kB / 0.5457 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003522/0.1344, allocations: 238.9 kB / 0.5459 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.81e-05/0.1345, allocations: 44 kB / 0.5459 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.856e-05/0.1346, allocations: 47.94 kB / 0.546 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.687e-05/0.1347, allocations: 103.6 kB / 0.5461 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002733/0.135, allocations: 266.7 kB / 0.5463 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006837/0.1357, allocations: 0.5562 MB / 0.5469 GB, free: 13.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1357, allocations: 0 / 0.5469 GB, free: 13.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1357, allocations: 4 kB / 0.5469 GB, free: 13.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1358, allocations: 0 / 0.5469 GB, free: 13.61 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.001208/0.137, allocations: 0.7741 MB / 0.5476 GB, free: 12.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.137, allocations: 12.03 kB / 0.5476 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.1372, allocations: 56.61 kB / 0.5477 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005039/0.1377, allocations: 326.6 kB / 0.548 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/0.1377, allocations: 37.38 kB / 0.548 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-05/0.1378, allocations: 56.27 kB / 0.5481 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007407/0.1386, allocations: 438.9 kB / 0.5485 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.1386, allocations: 11.89 kB / 0.5485 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.1386, allocations: 20 kB / 0.5485 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.1387, allocations: 12 kB / 0.5486 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005201/0.1392, allocations: 312.5 kB / 0.5489 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.141, allocations: 1.146 MB / 0.55 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007967/0.1418, allocations: 491.6 kB / 0.5504 GB, free: 9.758 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.1421, allocations: 214.9 kB / 0.5507 GB, free: 9.543 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.1422, allocations: 4.438 kB / 0.5507 GB, free: 9.539 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/0.1422, allocations: 46.98 kB / 0.5507 GB, free: 9.484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.983e-06/0.1422, allocations: 0 / 0.5507 GB, free: 9.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003171/0.1454, allocations: 2.134 MB / 0.5528 GB, free: 7.184 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.1455, allocations: 89.61 kB / 0.5529 GB, free: 7.078 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.1458, allocations: 259 kB / 0.5531 GB, free: 6.816 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/0.1458, allocations: 45.64 kB / 0.5532 GB, free: 6.766 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.146, allocations: 213.4 kB / 0.5534 GB, free: 6.555 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.1462, allocations: 281.6 kB / 0.5536 GB, free: 6.277 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.1464, allocations: 122.6 kB / 0.5537 GB, free: 6.152 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.1466, allocations: 358.7 kB / 0.5541 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.1469, allocations: 153.9 kB / 0.5542 GB, free: 5.645 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.1473, allocations: 285.2 kB / 0.5545 GB, free: 5.332 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007145/0.148, allocations: 470.8 kB / 0.555 GB, free: 4.836 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1481, allocations: 4 kB / 0.555 GB, free: 4.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008785/0.1489, allocations: 0.5671 MB / 0.5555 GB, free: 4.258 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.149, allocations: 4 kB / 0.5555 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.149, allocations: 7.984 kB / 0.5555 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.149, allocations: 8 kB / 0.5555 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/0.1496, allocations: 175.8 kB / 0.5557 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.1496, allocations: 7.938 kB / 0.5557 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.1499, allocations: 32.27 kB / 0.5557 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.1499, allocations: 27.94 kB / 0.5558 GB, free: 4 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.0002083/0.1501, allocations: 173.7 kB / 0.5559 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.864e-05/0.1502, allocations: 47.78 kB / 0.556 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.1504, allocations: 55.64 kB / 0.556 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.1504, allocations: 8 kB / 0.556 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.1504, allocations: 4 kB / 0.556 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.1504, allocations: 3.984 kB / 0.556 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.1525, allocations: 1.459 MB / 0.5575 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1525, allocations: 0 / 0.5575 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006076/0.1531, allocations: 159.8 kB / 0.5576 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.1531, allocations: 4.047 kB / 0.5576 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.251e-05/0.1532, allocations: 27.91 kB / 0.5577 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.857e-06/0.1532, allocations: 8.344 kB / 0.5577 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1532, allocations: 4 kB / 0.5577 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.1544, allocations: 0.9159 MB / 0.5586 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.1546, allocations: 116.8 kB / 0.5587 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.013e-05/0.1546, allocations: 23.94 kB / 0.5587 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.1549, allocations: 20 kB / 0.5587 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.155, allocations: 52.31 kB / 0.5588 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.155, allocations: 20 kB / 0.5588 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.1552, allocations: 181.9 kB / 0.559 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1552, allocations: 0 / 0.559 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005464/0.1558, allocations: 144 kB / 0.5591 GB, free: 408 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.0001809/0.156, allocations: 127.1 kB / 0.5592 GB, free: 272 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007632/0.1568, allocations: 451.6 kB / 0.5596 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.1568, allocations: 4 kB / 0.5597 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003233/0.1571, allocations: 235.4 kB / 0.5599 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008086/0.1579, allocations: 141.2 kB / 0.56 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.1605, allocations: 1.696 MB / 0.5617 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.161, allocations: 0.8485 MB / 0.5625 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.1611, allocations: 43.44 kB / 0.5625 GB, free: 12.78 MB / 430.1 MB Notification: Performance of SimCode: time 1.232e-06/0.1611, allocations: 4 kB / 0.5625 GB, free: 12.77 MB / 430.1 MB Notification: Performance of Templates: time 0.01011/0.1713, allocations: 6.017 MB / 0.5684 GB, free: 6.777 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.335439886082895]