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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001169/0.001168, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 247 MB, free: 8.934 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2127/0.2127, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 69.19 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1251, allocations: 62.45 MB / 479.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.00507/0.1302, allocations: 3.325 MB / 483.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.1321, allocations: 0.8335 MB / 484.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004454/0.1326, allocations: 11.94 kB / 484.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.133, allocations: 47.56 kB / 484.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005477/0.1335, allocations: 154.8 kB / 484.3 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.1339, allocations: 91.92 kB / 484.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000715/0.1346, allocations: 0.5675 MB / 485 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.1349, allocations: 146 kB / 485.1 MB, free: 496 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003117/0.1352, allocations: 203.2 kB / 485.3 MB, free: 292 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003289/0.1356, allocations: 234.9 kB / 485.5 MB, free: 56 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.601e-05/0.1356, allocations: 28 kB / 485.6 MB, free: 28 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1358, allocations: 32.05 kB / 485.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.559e-05/0.1359, allocations: 83.58 kB / 485.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000274/0.1361, allocations: 254.7 kB / 485.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.1365, allocations: 411 kB / 486.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1365, allocations: 4 kB / 486.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1365, allocations: 0 / 486.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.33e-05/0.1366, allocations: 0 / 486.3 MB, free: 15.26 MB / 366.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.00126/0.1378, allocations: 0.7562 MB / 487.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.1379, allocations: 13.95 kB / 487.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.138, allocations: 52.38 kB / 487.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/0.1384, allocations: 318.4 kB / 487.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.1384, allocations: 33.38 kB / 487.5 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.722e-05/0.1385, allocations: 60.28 kB / 487.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006951/0.1392, allocations: 438.9 kB / 488 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/0.1393, allocations: 7.906 kB / 488 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.1393, allocations: 20 kB / 488 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.1393, allocations: 12 kB / 488 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005022/0.1399, allocations: 318.4 kB / 488.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.1416, allocations: 1.153 MB / 489.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006895/0.1423, allocations: 497 kB / 490 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.1426, allocations: 211 kB / 490.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.1427, allocations: 4.438 kB / 490.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1427, allocations: 39 kB / 490.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.685e-06/0.1427, allocations: 0 / 490.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.003193/0.1459, allocations: 2.135 MB / 492.3 MB, free: 8.852 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.9e-05/0.146, allocations: 85.67 kB / 492.4 MB, free: 8.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.1463, allocations: 258.9 kB / 492.7 MB, free: 8.492 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.1463, allocations: 41.7 kB / 492.7 MB, free: 8.445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.1465, allocations: 209 kB / 492.9 MB, free: 8.234 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.1467, allocations: 268.1 kB / 493.2 MB, free: 7.969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.1469, allocations: 122.6 kB / 493.3 MB, free: 7.844 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1471, allocations: 358.7 kB / 493.7 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.1474, allocations: 157.9 kB / 493.8 MB, free: 7.332 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.1477, allocations: 276.9 kB / 494.1 MB, free: 7.023 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000651/0.1484, allocations: 470.8 kB / 494.5 MB, free: 6.527 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1484, allocations: 0 / 494.5 MB, free: 6.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008309/0.1492, allocations: 0.5681 MB / 495.1 MB, free: 5.953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1493, allocations: 8 kB / 495.1 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.1493, allocations: 4 kB / 495.1 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1493, allocations: 4 kB / 495.1 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/0.1499, allocations: 183.8 kB / 495.3 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.1499, allocations: 8 kB / 495.3 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.1502, allocations: 28.27 kB / 495.3 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.1502, allocations: 27.94 kB / 495.4 MB, free: 5.695 MB / 366.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.0001879/0.1504, allocations: 186.1 kB / 495.5 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.369e-05/0.1505, allocations: 43.47 kB / 495.6 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.1506, allocations: 59.64 kB / 495.6 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1506, allocations: 8 kB / 495.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.1506, allocations: 0 / 495.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.1507, allocations: 3.984 kB / 495.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.1527, allocations: 1.454 MB / 497.1 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.1527, allocations: 4 kB / 497.1 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006607/0.1534, allocations: 159.8 kB / 497.3 MB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.1534, allocations: 8 kB / 497.3 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.1535, allocations: 15.94 kB / 497.3 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/0.1535, allocations: 11.98 kB / 497.3 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.1535, allocations: 7.938 kB / 497.3 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.1546, allocations: 0.9041 MB / 498.2 MB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.1547, allocations: 120.5 kB / 498.3 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.077e-05/0.1548, allocations: 23.94 kB / 498.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.1551, allocations: 19.94 kB / 498.4 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.827e-05/0.1552, allocations: 48.38 kB / 498.4 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.1552, allocations: 20 kB / 498.4 MB, free: 2.422 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001921/0.1554, allocations: 185.9 kB / 498.6 MB, free: 2.238 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1554, allocations: 0 / 498.6 MB, free: 2.238 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005509/0.1559, allocations: 144 kB / 498.8 MB, free: 2.098 MB / 366.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.0001846/0.1561, allocations: 127 kB / 498.9 MB, free: 1.965 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007574/0.1569, allocations: 455.6 kB / 499.3 MB, free: 1.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1569, allocations: 0 / 499.3 MB, free: 1.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.1573, allocations: 242.2 kB / 499.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00093/0.1582, allocations: 116.7 kB / 499.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.161, allocations: 1.894 MB / 0.4898 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.1615, allocations: 0.8449 MB / 0.4907 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.1616, allocations: 47.44 kB / 0.4907 GB, free: 14.29 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1616, allocations: 0 / 0.4907 GB, free: 14.29 MB / 382.1 MB Notification: Performance of Templates: time 0.01107/0.1727, allocations: 5.94 MB / 0.4965 GB, free: 8.379 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches