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.001592/0.001592, allocations: 109.8 kB / 19.17 MB, free: 3.871 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.002349/0.002349, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.499/1.499, allocations: 230.2 MB / 255.1 MB, free: 15.27 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.2413/0.2413, allocations: 46.89 MB / 358.1 MB, free: 10.54 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.002252/0.002252, allocations: 91.83 kB / 0.4924 GB, free: 8.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1301, allocations: 65.97 MB / 0.5568 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004723/0.1348, allocations: 3.302 MB / 0.56 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.1365, allocations: 0.8374 MB / 0.5608 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/0.1368, allocations: 11.94 kB / 0.5608 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.137, allocations: 71.25 kB / 0.5609 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003523/0.1373, allocations: 178.5 kB / 0.5611 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.1376, allocations: 111.8 kB / 0.5612 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006508/0.1382, allocations: 0.5985 MB / 0.5618 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000255/0.1385, allocations: 125.4 kB / 0.5619 GB, free: 0.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.1387, allocations: 231.2 kB / 0.5621 GB, free: 492 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.139, allocations: 235 kB / 0.5623 GB, free: 256 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.287e-05/0.1391, allocations: 44 kB / 0.5624 GB, free: 212 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.444e-05/0.1392, allocations: 44 kB / 0.5624 GB, free: 168 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.755e-05/0.1393, allocations: 107.6 kB / 0.5625 GB, free: 60 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002892/0.1396, allocations: 266.9 kB / 0.5628 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006073/0.1402, allocations: 0.5601 MB / 0.5633 GB, free: 15.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1402, allocations: 7.938 kB / 0.5633 GB, free: 15.22 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1402, allocations: 0 / 0.5633 GB, free: 15.22 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1402, allocations: 0 / 0.5633 GB, free: 15.22 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.001293/0.1415, allocations: 0.7674 MB / 0.5641 GB, free: 14.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.1415, allocations: 8.031 kB / 0.5641 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.1416, allocations: 60.55 kB / 0.5641 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004824/0.1421, allocations: 326.5 kB / 0.5645 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.1422, allocations: 37.38 kB / 0.5645 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.491e-05/0.1422, allocations: 52.33 kB / 0.5645 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007279/0.143, allocations: 434.9 kB / 0.565 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.143, allocations: 15.95 kB / 0.565 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/0.143, allocations: 19.98 kB / 0.565 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.1431, allocations: 12 kB / 0.565 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005342/0.1436, allocations: 316.4 kB / 0.5653 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.1453, allocations: 1.142 MB / 0.5664 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007642/0.1461, allocations: 457.9 kB / 0.5669 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.1464, allocations: 202.8 kB / 0.567 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.1465, allocations: 4.438 kB / 0.567 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.1465, allocations: 43.03 kB / 0.5671 GB, free: 11.15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.204e-06/0.1465, allocations: 0 / 0.5671 GB, free: 11.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.0033/0.1498, allocations: 2.155 MB / 0.5692 GB, free: 8.832 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.1499, allocations: 89.67 kB / 0.5693 GB, free: 8.727 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/0.1502, allocations: 259 kB / 0.5695 GB, free: 8.465 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.1502, allocations: 33.7 kB / 0.5696 GB, free: 8.426 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.1504, allocations: 213.4 kB / 0.5698 GB, free: 8.215 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.1506, allocations: 285.5 kB / 0.57 GB, free: 7.934 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.1508, allocations: 118.6 kB / 0.5701 GB, free: 7.812 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002743/0.1511, allocations: 362.7 kB / 0.5705 GB, free: 7.449 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.1513, allocations: 157.9 kB / 0.5706 GB, free: 7.297 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.1517, allocations: 276.8 kB / 0.5709 GB, free: 6.992 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007252/0.1524, allocations: 472.1 kB / 0.5714 GB, free: 6.496 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1524, allocations: 4 kB / 0.5714 GB, free: 6.492 MB / 430.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009233/0.1534, allocations: 0.5632 MB / 0.5719 GB, free: 5.922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.1534, allocations: 4 kB / 0.5719 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.1534, allocations: 4.281 kB / 0.5719 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.1534, allocations: 12 kB / 0.5719 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/0.154, allocations: 183.7 kB / 0.5721 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.154, allocations: 4 kB / 0.5721 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.1543, allocations: 24 kB / 0.5721 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.1543, allocations: 27.94 kB / 0.5722 GB, free: 5.668 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.0002201/0.1546, allocations: 181.6 kB / 0.5723 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.724e-05/0.1547, allocations: 51.7 kB / 0.5724 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.1548, allocations: 55.66 kB / 0.5724 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.1548, allocations: 11.98 kB / 0.5724 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.1548, allocations: 4 kB / 0.5725 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.1548, allocations: 3.984 kB / 0.5725 GB, free: 5.352 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.157, allocations: 1.444 MB / 0.5739 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.157, allocations: 352 / 0.5739 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000705/0.1577, allocations: 163.8 kB / 0.574 GB, free: 3.633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.1577, allocations: 4 kB / 0.574 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.327e-05/0.1577, allocations: 23.88 kB / 0.574 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.705e-06/0.1577, allocations: 8 kB / 0.5741 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1577, allocations: 0 / 0.5741 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.159, allocations: 0.9235 MB / 0.575 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.1591, allocations: 116.8 kB / 0.5751 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.707e-05/0.1591, allocations: 19.94 kB / 0.5751 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.1594, allocations: 19.98 kB / 0.5751 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.974e-05/0.1595, allocations: 56.25 kB / 0.5752 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.1595, allocations: 24.06 kB / 0.5752 GB, free: 2.375 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002086/0.1597, allocations: 185.9 kB / 0.5754 GB, free: 2.195 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1597, allocations: 0 / 0.5754 GB, free: 2.195 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005619/0.1603, allocations: 140 kB / 0.5755 GB, free: 2.059 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.0001584/0.1605, allocations: 127 kB / 0.5756 GB, free: 1.926 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007152/0.1612, allocations: 428 kB / 0.576 GB, free: 1.512 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1612, allocations: 4.125 kB / 0.576 GB, free: 1.508 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00032/0.1615, allocations: 226.2 kB / 0.5762 GB, free: 1.285 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008285/0.1623, allocations: 123.8 kB / 0.5764 GB, free: 1.172 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.165, allocations: 1.708 MB / 0.578 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006077/0.1656, allocations: 0.8446 MB / 0.5789 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.1658, allocations: 47.44 kB / 0.5789 GB, free: 14.47 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1658, allocations: 0 / 0.5789 GB, free: 14.47 MB / 446.1 MB Notification: Performance of Templates: time 0.01351/0.1793, allocations: 6.074 MB / 0.5848 GB, free: 8.422 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.656098459847271]