Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009397/0.0009398, allocations: 93.03 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 169.7 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2255/0.2255, allocations: 44.24 MB / 337.7 MB, free: 2.441 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003664, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1135, allocations: 61.92 MB / 472.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003088/0.1167, allocations: 2.915 MB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1179, allocations: 0.7868 MB / 476 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.118, allocations: 11.94 kB / 476 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.1182, allocations: 55.55 kB / 476 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.1184, allocations: 158.8 kB / 476.2 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.1186, allocations: 87.92 kB / 476.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004811/0.1191, allocations: 0.5715 MB / 476.8 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.1194, allocations: 150 kB / 477 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.1196, allocations: 191.2 kB / 477.2 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.1198, allocations: 219 kB / 477.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.1199, allocations: 24 kB / 477.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.743e-05/0.1199, allocations: 24 kB / 477.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.31e-05/0.12, allocations: 75.62 kB / 477.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.1202, allocations: 272.5 kB / 477.8 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004325/0.1207, allocations: 0.5096 MB / 478.3 MB, free: 7.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1207, allocations: 4 kB / 478.3 MB, free: 7.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.1207, allocations: 7.984 kB / 478.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1207, allocations: 0 / 478.3 MB, free: 7.262 MB / 350.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.001043/0.1218, allocations: 0.6705 MB / 479 MB, free: 6.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.1218, allocations: 8.031 kB / 479 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.1219, allocations: 52.38 kB / 479 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.1224, allocations: 322.4 kB / 479.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.55e-05/0.1224, allocations: 37.38 kB / 479.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.526e-05/0.1225, allocations: 56.28 kB / 479.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007799/0.1233, allocations: 438.9 kB / 479.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/0.1234, allocations: 15.75 kB / 479.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.1234, allocations: 20 kB / 479.9 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.1235, allocations: 16 kB / 479.9 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005456/0.124, allocations: 312.5 kB / 480.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.1259, allocations: 1.15 MB / 481.4 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008309/0.1267, allocations: 488.9 kB / 481.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.127, allocations: 214.9 kB / 482 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.1271, allocations: 8.438 kB / 482.1 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.1271, allocations: 38.98 kB / 482.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 1.824e-06/0.1271, allocations: 0 / 482.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.00297/0.1301, allocations: 2.138 MB / 484.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.541e-05/0.1302, allocations: 93.67 kB / 484.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.1305, allocations: 258.9 kB / 484.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.1306, allocations: 37.7 kB / 484.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.1308, allocations: 216.9 kB / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/0.131, allocations: 264.1 kB / 485.1 MB, free: 44 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.1311, allocations: 65.67 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.1313, allocations: 362.7 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.1316, allocations: 153.9 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.1319, allocations: 280.8 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005997/0.1325, allocations: 472 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1325, allocations: 4 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008038/0.1334, allocations: 0.5629 MB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.1334, allocations: 8 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1334, allocations: 4 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1334, allocations: 4 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005691/0.134, allocations: 175.8 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.134, allocations: 12.22 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.1343, allocations: 27.98 kB / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.1343, allocations: 27.94 kB / 487.2 MB, free: 13.82 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.0002143/0.1346, allocations: 181.7 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-05/0.1346, allocations: 39.53 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.1348, allocations: 55.64 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.1348, allocations: 8 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.1348, allocations: 0 / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.1348, allocations: 7.984 kB / 487.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.1367, allocations: 1.461 MB / 488.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.1368, allocations: 7.984 kB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/0.1374, allocations: 155.8 kB / 489.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.1374, allocations: 8 kB / 489.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/0.1374, allocations: 23.92 kB / 489.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.1374, allocations: 4 kB / 489.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.1375, allocations: 4 kB / 489.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.1385, allocations: 0.9079 MB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.166e-05/0.1386, allocations: 116.6 kB / 490.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.1387, allocations: 23.94 kB / 490.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.139, allocations: 20 kB / 490.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.139, allocations: 56.31 kB / 490.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.1391, allocations: 20 kB / 490.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.1392, allocations: 181.9 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1392, allocations: 0 / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004797/0.1397, allocations: 148 kB / 490.6 MB, free: 10.23 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.0001366/0.1399, allocations: 119 kB / 490.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006496/0.1405, allocations: 459.6 kB / 491.2 MB, free: 9.656 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1405, allocations: 4 kB / 491.2 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.1408, allocations: 239.4 kB / 491.4 MB, free: 9.418 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009271/0.1418, allocations: 117.8 kB / 491.5 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.1444, allocations: 2.077 MB / 493.6 MB, free: 7.152 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.1448, allocations: 0.8527 MB / 494.5 MB, free: 6.277 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001768/0.145, allocations: 56.66 kB / 494.5 MB, free: 6.223 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.894e-05/0.1451, allocations: 47.38 kB / 494.6 MB, free: 6.176 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1451, allocations: 0 / 494.6 MB, free: 6.176 MB / 366.1 MB Notification: Performance of Templates: time 0.0093/0.1544, allocations: 4.992 MB / 499.6 MB, free: 1.234 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches