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) 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 4.1.0-beta.om/package.mo", uses=false) 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=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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001389/0.001389, allocations: 110.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.00146, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 227.4 MB / 246.5 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2338/0.2338, allocations: 46.11 MB / 343.8 MB, free: 11.71 MB / 286.1 MB 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.002377/0.002377, allocations: 82.98 kB / 417.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.127, allocations: 62.45 MB / 479.6 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004922/0.132, allocations: 3.317 MB / 482.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.1338, allocations: 0.8335 MB / 483.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.134, allocations: 11.94 kB / 483.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000218/0.1342, allocations: 55.55 kB / 483.8 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.1346, allocations: 146.8 kB / 483.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.1348, allocations: 95.91 kB / 484 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006163/0.1354, allocations: 0.5909 MB / 484.6 MB, free: 500 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.1358, allocations: 173.6 kB / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.136, allocations: 219.2 kB / 485 MB, free: 108 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.1363, allocations: 239.1 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.504e-05/0.1364, allocations: 40 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.218e-05/0.1365, allocations: 44 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.1366, allocations: 103.6 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002493/0.1368, allocations: 274.7 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005659/0.1374, allocations: 0.5448 MB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1374, allocations: 0 / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1374, allocations: 4 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.1374, allocations: 0 / 486.2 MB, free: 14.87 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.00127/0.1387, allocations: 0.7543 MB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1388, allocations: 8.031 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.1389, allocations: 56.38 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004515/0.1393, allocations: 322.4 kB / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/0.1394, allocations: 33.38 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.561e-05/0.1395, allocations: 56.28 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007826/0.1403, allocations: 442.8 kB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.1403, allocations: 7.906 kB / 487.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.1404, allocations: 20 kB / 487.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.1404, allocations: 12 kB / 487.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005153/0.1409, allocations: 318.4 kB / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.1427, allocations: 1.153 MB / 489.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007505/0.1435, allocations: 488.8 kB / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.1438, allocations: 215 kB / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.1439, allocations: 4.438 kB / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.1439, allocations: 39 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 1.673e-06/0.1439, allocations: 0 / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.003162/0.1471, allocations: 2.14 MB / 492.2 MB, free: 8.461 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/0.1472, allocations: 89.67 kB / 492.3 MB, free: 8.355 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.1475, allocations: 258.9 kB / 492.6 MB, free: 8.098 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.772e-05/0.1475, allocations: 33.7 kB / 492.6 MB, free: 8.059 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.1477, allocations: 213 kB / 492.8 MB, free: 7.844 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.148, allocations: 264.1 kB / 493.1 MB, free: 7.582 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.1481, allocations: 126.6 kB / 493.2 MB, free: 7.453 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.1483, allocations: 350.7 kB / 493.6 MB, free: 7.102 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.1486, allocations: 165.9 kB / 493.7 MB, free: 6.941 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003695/0.149, allocations: 276.8 kB / 494 MB, free: 6.633 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006622/0.1496, allocations: 467 kB / 494.4 MB, free: 6.141 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1497, allocations: 8 kB / 494.4 MB, free: 6.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008701/0.1505, allocations: 0.563 MB / 495 MB, free: 5.562 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.1506, allocations: 7.984 kB / 495 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1506, allocations: 4 kB / 495 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.1506, allocations: 8 kB / 495 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005944/0.1512, allocations: 175.7 kB / 495.2 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.1512, allocations: 12.22 kB / 495.2 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.1515, allocations: 27.98 kB / 495.2 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.1516, allocations: 31.94 kB / 495.3 MB, free: 5.301 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.0002248/0.1518, allocations: 178.1 kB / 495.4 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.1519, allocations: 43.53 kB / 495.5 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.152, allocations: 63.58 kB / 495.6 MB, free: 5.012 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.152, allocations: 4 kB / 495.6 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.1521, allocations: 8 kB / 495.6 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.1521, allocations: 3.984 kB / 495.6 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/0.1543, allocations: 1.454 MB / 497 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.1543, allocations: 4 kB / 497 MB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006193/0.155, allocations: 155.8 kB / 497.2 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/0.155, allocations: 8 kB / 497.2 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/0.155, allocations: 27.88 kB / 497.2 MB, free: 3.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.948e-06/0.155, allocations: 7.984 kB / 497.2 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.1551, allocations: 12 kB / 497.2 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.1562, allocations: 0.9041 MB / 498.1 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.1563, allocations: 120.5 kB / 498.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.955e-05/0.1564, allocations: 19.94 kB / 498.3 MB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.1567, allocations: 20 kB / 498.3 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.986e-05/0.1568, allocations: 48.38 kB / 498.3 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.1568, allocations: 20 kB / 498.4 MB, free: 2.023 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001802/0.157, allocations: 181.9 kB / 498.5 MB, free: 1.844 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.157, allocations: 0 / 498.5 MB, free: 1.844 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000533/0.1576, allocations: 144 kB / 498.7 MB, free: 1.703 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.0001652/0.1577, allocations: 135 kB / 498.8 MB, free: 1.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008965/0.1586, allocations: 479.6 kB / 499.3 MB, free: 1.094 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.1586, allocations: 0 / 499.3 MB, free: 1.094 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003145/0.159, allocations: 235.4 kB / 499.5 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009134/0.1599, allocations: 134.8 kB / 499.6 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.1627, allocations: 1.863 MB / 0.4897 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.1632, allocations: 0.8485 MB / 0.4906 GB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002208/0.1635, allocations: 60.66 kB / 0.4906 GB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.1636, allocations: 47.38 kB / 0.4907 GB, free: 13.84 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1636, allocations: 0 / 0.4907 GB, free: 13.84 MB / 382.1 MB Notification: Performance of Templates: time 0.01214/0.1757, allocations: 5.288 MB / 0.4958 GB, free: 8.613 MB / 382.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (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) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches