Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.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.001726/0.001726, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.002071/0.002071, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.594/1.594, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2457/0.2457, allocations: 46.88 MB / 361.1 MB, free: 4.633 MB / 286.1 MB " [Timeout remaining time 179] 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.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia") [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.002397/0.002397, allocations: 84.14 kB / 0.4967 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3939, allocations: 65.98 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.00474/0.3987, allocations: 3.091 MB / 0.5642 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.3997, allocations: 418.5 kB / 0.5646 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.3999, allocations: 8 kB / 0.5646 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.4, allocations: 67.31 kB / 0.5647 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.4004, allocations: 166.5 kB / 0.5648 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.4007, allocations: 107.8 kB / 0.5649 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006006/0.4013, allocations: 0.5364 MB / 0.5655 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.4015, allocations: 124.8 kB / 0.5656 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.4018, allocations: 203.3 kB / 0.5658 GB, free: 312 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.4021, allocations: 215 kB / 0.566 GB, free: 96 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.1e-05/0.4022, allocations: 40 kB / 0.566 GB, free: 56 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.141e-05/0.4023, allocations: 40 kB / 0.5661 GB, free: 16 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.4024, allocations: 99.75 kB / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.4026, allocations: 246.9 kB / 0.5664 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005979/0.4032, allocations: 0.5278 MB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.4032, allocations: 4 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4032, allocations: 4 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.4032, allocations: 0 / 0.5669 GB, free: 15.14 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001099/0.4043, allocations: 0.7246 MB / 0.5676 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.4044, allocations: 12.03 kB / 0.5676 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.4045, allocations: 52.61 kB / 0.5677 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.4048, allocations: 288.5 kB / 0.568 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.4049, allocations: 41.38 kB / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.371e-05/0.4049, allocations: 52.33 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006989/0.4056, allocations: 458.7 kB / 0.5685 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.5e-05/0.4057, allocations: 20.06 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.321e-05/0.4057, allocations: 23.94 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.4057, allocations: 16 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004347/0.4062, allocations: 262.1 kB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/0.4085, allocations: 1.684 MB / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000601/0.4091, allocations: 395.9 kB / 0.5708 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.4094, allocations: 159.8 kB / 0.571 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.4094, allocations: 11.94 kB / 0.571 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.4094, allocations: 42.56 kB / 0.571 GB, free: 10.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 1.864e-06/0.4094, allocations: 3.938 kB / 0.571 GB, free: 10.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008015/0.4102, allocations: 358 kB / 0.5714 GB, free: 10.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001805/0.4104, allocations: 269 kB / 0.5716 GB, free: 9.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.4107, allocations: 250.9 kB / 0.5719 GB, free: 9.672 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.4108, allocations: 33.7 kB / 0.5719 GB, free: 9.633 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.411, allocations: 248.2 kB / 0.5721 GB, free: 9.387 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.4111, allocations: 190.8 kB / 0.5723 GB, free: 9.199 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.4113, allocations: 122.6 kB / 0.5724 GB, free: 9.074 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.4115, allocations: 346.8 kB / 0.5728 GB, free: 8.727 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.4117, allocations: 117.9 kB / 0.5729 GB, free: 8.609 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/0.4122, allocations: 422.3 kB / 0.5733 GB, free: 8.059 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007525/0.4129, allocations: 0.5689 MB / 0.5738 GB, free: 7.352 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.4129, allocations: 7.938 kB / 0.5738 GB, free: 7.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008978/0.4138, allocations: 0.5675 MB / 0.5744 GB, free: 6.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.4138, allocations: 12 kB / 0.5744 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.4138, allocations: 8.922 kB / 0.5744 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.4139, allocations: 16 kB / 0.5744 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/0.4144, allocations: 187.6 kB / 0.5746 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.779e-05/0.4145, allocations: 27.91 kB / 0.5746 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.4148, allocations: 59.58 kB / 0.5747 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.4148, allocations: 32 kB / 0.5747 GB, free: 6.434 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.000221/0.415, allocations: 189.5 kB / 0.5749 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.4152, allocations: 35.77 kB / 0.5749 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.296e-05/0.4153, allocations: 45.7 kB / 0.575 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.4153, allocations: 7.938 kB / 0.575 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.4153, allocations: 8 kB / 0.575 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.4153, allocations: 3.984 kB / 0.575 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.4164, allocations: 417.2 kB / 0.5754 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4164, allocations: 4 kB / 0.5754 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005507/0.4169, allocations: 119.9 kB / 0.5755 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.417, allocations: 4 kB / 0.5755 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.417, allocations: 16 kB / 0.5755 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.63e-05/0.417, allocations: 11.88 kB / 0.5755 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.417, allocations: 4 kB / 0.5755 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.418, allocations: 1.082 MB / 0.5766 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.4182, allocations: 116.8 kB / 0.5767 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.4182, allocations: 16 kB / 0.5767 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004065/0.4186, allocations: 11.94 kB / 0.5767 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.4187, allocations: 24.09 kB / 0.5768 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.4187, allocations: 20 kB / 0.5768 GB, free: 4.211 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001747/0.4189, allocations: 174 kB / 0.5769 GB, free: 4.043 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4189, allocations: 0 / 0.5769 GB, free: 4.043 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008396/0.4197, allocations: 139.7 kB / 0.5771 GB, free: 3.906 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * 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.0002275/0.4199, allocations: 111.2 kB / 0.5772 GB, free: 3.789 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006024/0.4205, allocations: 332.7 kB / 0.5775 GB, free: 3.465 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4205, allocations: 3.938 kB / 0.5775 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.4207, allocations: 127.7 kB / 0.5776 GB, free: 3.336 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.4219, allocations: 105.1 kB / 0.5777 GB, free: 3.234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.4249, allocations: 1.982 MB / 0.5797 GB, free: 1.203 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005363/0.4254, allocations: 0.8314 MB / 0.5805 GB, free: 352 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001682/0.4256, allocations: 48.16 kB / 0.5805 GB, free: 300 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.539e-05/0.4257, allocations: 31.44 kB / 0.5805 GB, free: 268 kB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4257, allocations: 0 / 0.5805 GB, free: 268 kB / 414.1 MB Notification: Performance of Templates: time 0.009333/0.435, allocations: 4.372 MB / 0.5848 GB, free: 11.93 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.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.525276089087129]