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.001575/0.001575, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001909/0.001909, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.472/1.472, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2066/0.2066, allocations: 44.17 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 62.67 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1243, allocations: 60.82 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004549/0.1289, allocations: 3.26 MB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1303, allocations: 0.8062 MB / 474 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.1305, allocations: 11.94 kB / 474 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.1308, allocations: 75.23 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003711/0.1312, allocations: 170.5 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.1315, allocations: 111.9 kB / 474.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005225/0.132, allocations: 0.5871 MB / 474.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/0.1323, allocations: 169.6 kB / 475.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.1325, allocations: 223.2 kB / 475.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.1328, allocations: 235 kB / 475.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.828e-05/0.1329, allocations: 44 kB / 475.6 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.363e-05/0.133, allocations: 44 kB / 475.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.675e-05/0.1331, allocations: 111.6 kB / 475.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.1333, allocations: 258.8 kB / 476 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004793/0.1338, allocations: 0.5527 MB / 476.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1338, allocations: 0 / 476.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1339, allocations: 0 / 476.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.1339, allocations: 0 / 476.6 MB, free: 7.715 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.001103/0.135, allocations: 0.76 MB / 477.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.135, allocations: 8.031 kB / 477.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.713e-05/0.1351, allocations: 56.31 kB / 477.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.1355, allocations: 318.4 kB / 477.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.1355, allocations: 37.38 kB / 477.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-05/0.1356, allocations: 60.27 kB / 477.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006715/0.1363, allocations: 434.9 kB / 478.2 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/0.1363, allocations: 7.906 kB / 478.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.959e-05/0.1364, allocations: 24 kB / 478.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.1364, allocations: 12 kB / 478.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.1369, allocations: 316.4 kB / 478.6 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.1385, allocations: 1.15 MB / 479.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006984/0.1392, allocations: 488.9 kB / 480.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/0.1395, allocations: 211.1 kB / 480.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.1396, allocations: 8.375 kB / 480.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.1396, allocations: 46.98 kB / 480.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.204e-06/0.1396, allocations: 0 / 480.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.002811/0.1424, allocations: 2.131 MB / 482.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.1425, allocations: 85.67 kB / 482.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.1427, allocations: 258.9 kB / 482.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.1428, allocations: 37.7 kB / 482.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.1429, allocations: 213 kB / 483.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.1431, allocations: 268.1 kB / 483.4 MB, free: 436 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.1433, allocations: 118.6 kB / 483.5 MB, free: 312 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1434, allocations: 362.7 kB / 483.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.1437, allocations: 153.9 kB / 484 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.144, allocations: 280.8 kB / 484.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005868/0.1446, allocations: 472 kB / 484.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.1446, allocations: 4 kB / 484.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007804/0.1454, allocations: 0.5668 MB / 485.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1454, allocations: 4 kB / 485.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.1455, allocations: 4 kB / 485.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.1455, allocations: 8.281 kB / 485.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/0.146, allocations: 183.8 kB / 485.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.1461, allocations: 11.98 kB / 485.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.1463, allocations: 24 kB / 485.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.1464, allocations: 23.94 kB / 485.6 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.0001954/0.1466, allocations: 185.6 kB / 485.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.964e-05/0.1467, allocations: 43.53 kB / 485.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.1468, allocations: 59.64 kB / 485.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.1468, allocations: 8 kB / 485.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.1468, allocations: 4 kB / 485.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.1468, allocations: 3.984 kB / 485.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/0.1488, allocations: 1.457 MB / 487.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.1488, allocations: 4 kB / 487.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005945/0.1494, allocations: 151.8 kB / 487.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.1494, allocations: 8 kB / 487.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.1494, allocations: 23.92 kB / 487.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.1495, allocations: 8.281 kB / 487.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.1495, allocations: 8 kB / 487.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.1505, allocations: 0.8998 MB / 488.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.1506, allocations: 124.5 kB / 488.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.83e-05/0.1507, allocations: 19.94 kB / 488.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.151, allocations: 20 kB / 488.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.624e-05/0.1511, allocations: 48.31 kB / 488.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.1511, allocations: 27.92 kB / 488.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.1512, allocations: 181.9 kB / 488.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1512, allocations: 0 / 488.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005007/0.1518, allocations: 144 kB / 489 MB, free: 10.56 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.0001288/0.1519, allocations: 127.1 kB / 489.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008482/0.1527, allocations: 487.5 kB / 489.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1528, allocations: 0 / 489.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.1531, allocations: 235.4 kB / 489.8 MB, free: 9.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008832/0.1539, allocations: 135 kB / 490 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.1566, allocations: 1.693 MB / 491.7 MB, free: 7.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.1571, allocations: 0.8485 MB / 492.5 MB, free: 6.957 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.1572, allocations: 43.44 kB / 492.6 MB, free: 6.914 MB / 366.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1572, allocations: 0 / 492.6 MB, free: 6.914 MB / 366.1 MB Notification: Performance of Templates: time 0.009374/0.1666, allocations: 5.943 MB / 498.5 MB, free: 0.9922 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/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_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches