Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001545/0.001545, allocations: 121.4 kB / 19.17 MB, free: 3.852 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.001689/0.001689, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.448/1.448, allocations: 230.3 MB / 255.2 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2282/0.2282, allocations: 46.92 MB / 358.2 MB, free: 10.42 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00257/0.00257, allocations: 79.88 kB / 0.4925 GB, free: 7.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1291, allocations: 66 MB / 0.557 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005177/0.1343, allocations: 3.297 MB / 0.5602 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.1361, allocations: 0.8374 MB / 0.561 GB, free: 1.391 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000397/0.1365, allocations: 15.88 kB / 0.561 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.1368, allocations: 71.25 kB / 0.5611 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005719/0.1374, allocations: 174.5 kB / 0.5612 GB, free: 1.133 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.1377, allocations: 107.9 kB / 0.5613 GB, free: 1.027 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000741/0.1385, allocations: 0.6024 MB / 0.5619 GB, free: 432 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.1387, allocations: 121.4 kB / 0.562 GB, free: 300 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.139, allocations: 239.1 kB / 0.5623 GB, free: 60 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003218/0.1393, allocations: 242.9 kB / 0.5625 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.369e-05/0.1394, allocations: 40 kB / 0.5625 GB, free: 15.78 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.628e-05/0.1395, allocations: 44 kB / 0.5626 GB, free: 15.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.564e-05/0.1396, allocations: 95.69 kB / 0.5627 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.1398, allocations: 266.7 kB / 0.5629 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006397/0.1405, allocations: 0.564 MB / 0.5635 GB, free: 14.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1405, allocations: 7.938 kB / 0.5635 GB, free: 14.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1405, allocations: 0 / 0.5635 GB, free: 14.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.1405, allocations: 3.938 kB / 0.5635 GB, free: 14.8 MB / 430.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.001148/0.1416, allocations: 0.7673 MB / 0.5642 GB, free: 13.99 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1417, allocations: 12.03 kB / 0.5643 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.1418, allocations: 60.59 kB / 0.5643 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.1422, allocations: 326.6 kB / 0.5646 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.1423, allocations: 33.38 kB / 0.5647 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.353e-05/0.1424, allocations: 60.33 kB / 0.5647 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006744/0.143, allocations: 434.9 kB / 0.5651 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.1431, allocations: 7.953 kB / 0.5651 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.1431, allocations: 24 kB / 0.5652 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.1431, allocations: 12 kB / 0.5652 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005127/0.1436, allocations: 316.4 kB / 0.5655 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.1453, allocations: 1.138 MB / 0.5666 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007116/0.146, allocations: 461.9 kB / 0.567 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.1463, allocations: 198.8 kB / 0.5672 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.1463, allocations: 8.484 kB / 0.5672 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1463, allocations: 38.98 kB / 0.5673 GB, free: 10.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 1.774e-06/0.1463, allocations: 4.031 kB / 0.5673 GB, free: 10.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.003106/0.1495, allocations: 2.159 MB / 0.5694 GB, free: 8.414 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/0.1495, allocations: 85.67 kB / 0.5695 GB, free: 8.312 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.1498, allocations: 258.9 kB / 0.5697 GB, free: 8.051 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.1498, allocations: 37.7 kB / 0.5697 GB, free: 8.008 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.15, allocations: 209.4 kB / 0.5699 GB, free: 7.801 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.1502, allocations: 277.6 kB / 0.5702 GB, free: 7.527 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.1504, allocations: 122.6 kB / 0.5703 GB, free: 7.402 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.1506, allocations: 362.7 kB / 0.5707 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.1508, allocations: 157.9 kB / 0.5708 GB, free: 6.887 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.1512, allocations: 276.8 kB / 0.5711 GB, free: 6.578 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006685/0.1519, allocations: 470.9 kB / 0.5715 GB, free: 6.086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1519, allocations: 0 / 0.5715 GB, free: 6.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008453/0.1527, allocations: 0.5632 MB / 0.5721 GB, free: 5.516 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1527, allocations: 8 kB / 0.5721 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1527, allocations: 0 / 0.5721 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.1528, allocations: 8.281 kB / 0.5721 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000594/0.1533, allocations: 183.7 kB / 0.5723 GB, free: 5.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/0.1534, allocations: 11.98 kB / 0.5723 GB, free: 5.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.1536, allocations: 20 kB / 0.5723 GB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.1537, allocations: 27.94 kB / 0.5723 GB, free: 5.262 MB / 430.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.000206/0.1539, allocations: 181.6 kB / 0.5725 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.085e-05/0.1539, allocations: 47.72 kB / 0.5725 GB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.1541, allocations: 55.64 kB / 0.5726 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.1541, allocations: 12 kB / 0.5726 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.1541, allocations: 0 / 0.5726 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.1541, allocations: 3.984 kB / 0.5726 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.1561, allocations: 1.453 MB / 0.574 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.1561, allocations: 4 kB / 0.574 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006265/0.1568, allocations: 156.2 kB / 0.5742 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/0.1568, allocations: 15.98 kB / 0.5742 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.1568, allocations: 15.94 kB / 0.5742 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.1568, allocations: 11.94 kB / 0.5742 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.1568, allocations: 4 kB / 0.5742 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.158, allocations: 0.912 MB / 0.5751 GB, free: 2.219 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.1581, allocations: 124.8 kB / 0.5752 GB, free: 2.078 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.739e-05/0.1581, allocations: 23.94 kB / 0.5753 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.1584, allocations: 19.98 kB / 0.5753 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.1585, allocations: 44.33 kB / 0.5753 GB, free: 1.988 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.1585, allocations: 23.98 kB / 0.5753 GB, free: 1.965 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.1587, allocations: 177.9 kB / 0.5755 GB, free: 1.793 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1587, allocations: 4 kB / 0.5755 GB, free: 1.789 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000541/0.1592, allocations: 148 kB / 0.5757 GB, free: 1.645 MB / 430.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.0001482/0.1594, allocations: 119.1 kB / 0.5758 GB, free: 1.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006987/0.1601, allocations: 431.5 kB / 0.5762 GB, free: 1.102 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1601, allocations: 0.5625 kB / 0.5762 GB, free: 1.102 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003116/0.1604, allocations: 230.6 kB / 0.5764 GB, free: 0.875 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008147/0.1612, allocations: 133.2 kB / 0.5765 GB, free: 0.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.1638, allocations: 1.7 MB / 0.5782 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.1643, allocations: 0.8485 MB / 0.579 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.1644, allocations: 47.44 kB / 0.5791 GB, free: 14.06 MB / 446.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1644, allocations: 0 / 0.5791 GB, free: 14.06 MB / 446.1 MB Notification: Performance of Templates: time 0.009683/0.1741, allocations: 6.07 MB / 0.585 GB, free: 8.016 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.439681420000852]