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.001368/0.001368, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001614/0.001614, allocations: 192 kB / 18.55 MB, free: 4.566 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.339/1.339, allocations: 222.9 MB / 242.2 MB, free: 15.17 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.2032/0.2032, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 64.73 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1135, allocations: 60.83 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004189/0.1177, allocations: 3.259 MB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1189, allocations: 0.7945 MB / 473.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.1191, allocations: 15.88 kB / 473.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.1193, allocations: 75.23 kB / 473.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.1196, allocations: 174.5 kB / 473.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.1198, allocations: 111.9 kB / 473.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004932/0.1203, allocations: 0.5871 MB / 474.3 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.1205, allocations: 165.6 kB / 474.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.1208, allocations: 223.2 kB / 474.6 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.121, allocations: 242.9 kB / 474.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.632e-05/0.1211, allocations: 40 kB / 474.9 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.423e-05/0.1212, allocations: 44 kB / 475 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.694e-05/0.1212, allocations: 103.7 kB / 475.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.1215, allocations: 266.7 kB / 475.3 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.1219, allocations: 0.5488 MB / 475.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1219, allocations: 0 / 475.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1219, allocations: 0 / 475.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.066e-06/0.122, allocations: 0 / 475.9 MB, free: 7.727 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.00105/0.123, allocations: 0.764 MB / 476.6 MB, free: 6.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1231, allocations: 8.031 kB / 476.6 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.325e-05/0.1232, allocations: 52.38 kB / 476.7 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.1235, allocations: 318.4 kB / 477 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.1235, allocations: 45.38 kB / 477 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-05/0.1236, allocations: 56.27 kB / 477.1 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006028/0.1242, allocations: 434.9 kB / 477.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.846e-05/0.1243, allocations: 11.91 kB / 477.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.1243, allocations: 16 kB / 477.6 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.1243, allocations: 12 kB / 477.6 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004556/0.1248, allocations: 316.4 kB / 477.9 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.1263, allocations: 1.157 MB / 479 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006989/0.127, allocations: 496.8 kB / 479.5 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.1273, allocations: 207.2 kB / 479.7 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.35e-05/0.1274, allocations: 16.41 kB / 479.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.1274, allocations: 43 kB / 479.8 MB, free: 3.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 1.894e-06/0.1274, allocations: 0 / 479.8 MB, free: 3.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.002631/0.1301, allocations: 2.127 MB / 481.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.1301, allocations: 85.66 kB / 482 MB, free: 1.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.1303, allocations: 254.9 kB / 482.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.1304, allocations: 37.7 kB / 482.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.1305, allocations: 217 kB / 482.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.1307, allocations: 264.1 kB / 482.7 MB, free: 440 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.1308, allocations: 122.6 kB / 482.9 MB, free: 312 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.131, allocations: 358.7 kB / 483.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.1312, allocations: 157.9 kB / 483.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.1315, allocations: 276.8 kB / 483.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005728/0.1321, allocations: 468.1 kB / 484.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1321, allocations: 0 / 484.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007601/0.1329, allocations: 0.5708 MB / 484.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1329, allocations: 7.938 kB / 484.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.1329, allocations: 4 kB / 484.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1329, allocations: 8 kB / 484.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.1335, allocations: 171.8 kB / 484.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.1335, allocations: 11.97 kB / 484.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.1337, allocations: 32.22 kB / 484.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.1338, allocations: 31.94 kB / 484.9 MB, free: 14.15 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.0001769/0.1339, allocations: 173.7 kB / 485.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.402e-05/0.134, allocations: 51.52 kB / 485.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.1341, allocations: 51.66 kB / 485.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1342, allocations: 4 kB / 485.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/0.1342, allocations: 7.984 kB / 485.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1342, allocations: 4 kB / 485.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.1359, allocations: 1.473 MB / 486.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.1359, allocations: 4 kB / 486.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005563/0.1365, allocations: 163.7 kB / 486.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.1365, allocations: 4 kB / 486.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.1365, allocations: 23.94 kB / 486.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.1365, allocations: 4 kB / 486.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1365, allocations: 4 kB / 486.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009953/0.1375, allocations: 0.9107 MB / 487.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.962e-05/0.1376, allocations: 116.5 kB / 487.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.216e-05/0.1377, allocations: 19.94 kB / 487.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.1379, allocations: 23.98 kB / 488 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/0.138, allocations: 48.33 kB / 488 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.138, allocations: 23.98 kB / 488 MB, free: 10.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.1382, allocations: 177.9 kB / 488.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1382, allocations: 3.938 kB / 488.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004587/0.1387, allocations: 144 kB / 488.3 MB, free: 10.55 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.0001281/0.1388, allocations: 127 kB / 488.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007904/0.1396, allocations: 487.7 kB / 488.9 MB, free: 9.949 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1396, allocations: 0 / 488.9 MB, free: 9.949 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002663/0.1399, allocations: 234.2 kB / 489.2 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007812/0.1407, allocations: 126.5 kB / 489.3 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.1429, allocations: 1.66 MB / 491 MB, free: 7.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.1433, allocations: 0.8524 MB / 491.8 MB, free: 6.992 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001761/0.1435, allocations: 52.66 kB / 491.9 MB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.291e-05/0.1436, allocations: 47.44 kB / 491.9 MB, free: 6.895 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1436, allocations: 0 / 491.9 MB, free: 6.895 MB / 366.1 MB Notification: Performance of Templates: time 0.009846/0.1535, allocations: 5.287 MB / 497.2 MB, free: 1.664 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