Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 100.5 kB / 16.27 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.001889/0.001889, allocations: 193.9 kB / 17.2 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2306/0.2306, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 67.98 kB / 382.7 MB, free: 56.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1275, allocations: 57.79 MB / 440.5 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003613/0.1312, allocations: 3.061 MB / 443.6 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006435/0.1318, allocations: 414.5 kB / 444 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.132, allocations: 15.94 kB / 444 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.1321, allocations: 67.3 kB / 444.1 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.1324, allocations: 154.6 kB / 444.2 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.1326, allocations: 107.8 kB / 444.3 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000349/0.1329, allocations: 0.5364 MB / 444.9 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/0.1332, allocations: 164.8 kB / 445 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.1334, allocations: 191.4 kB / 445.2 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.1336, allocations: 219 kB / 445.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.984e-05/0.1337, allocations: 40 kB / 445.5 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.769e-05/0.1337, allocations: 44 kB / 445.5 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.562e-05/0.1338, allocations: 95.69 kB / 445.6 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.134, allocations: 250.8 kB / 445.8 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.1344, allocations: 0.5102 MB / 446.3 MB, free: 1.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1344, allocations: 0 / 446.3 MB, free: 1.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1344, allocations: 0 / 446.3 MB, free: 1.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1344, allocations: 0 / 446.3 MB, free: 1.09 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0008657/0.1353, allocations: 0.7174 MB / 447.1 MB, free: 328 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1353, allocations: 11.89 kB / 447.1 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.857e-05/0.1354, allocations: 56.31 kB / 447.1 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.1357, allocations: 291.7 kB / 447.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.1357, allocations: 29.38 kB / 447.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.068e-05/0.1358, allocations: 64.05 kB / 447.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006178/0.1364, allocations: 466.6 kB / 448 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.1365, allocations: 8.094 kB / 448 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.1365, allocations: 23.94 kB / 448 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.1365, allocations: 12 kB / 448 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003873/0.1369, allocations: 260.9 kB / 448.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.1392, allocations: 1.703 MB / 450 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.1399, allocations: 407.4 kB / 450.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.1401, allocations: 159.6 kB / 450.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.1402, allocations: 4 kB / 450.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.299e-05/0.1402, allocations: 55.03 kB / 450.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.355e-06/0.1403, allocations: 0 / 450.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008991/0.1412, allocations: 357.4 kB / 450.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003236/0.1415, allocations: 280.9 kB / 451.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/0.1419, allocations: 247.1 kB / 451.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/0.1419, allocations: 33.7 kB / 451.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.1422, allocations: 247.5 kB / 451.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.1424, allocations: 177.5 kB / 451.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.1425, allocations: 114.6 kB / 452 MB, free: 11.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.1428, allocations: 346.8 kB / 452.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.143, allocations: 121.9 kB / 452.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/0.1435, allocations: 417.6 kB / 452.9 MB, free: 9.992 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006868/0.1441, allocations: 0.5771 MB / 453.4 MB, free: 9.277 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.902e-06/0.1442, allocations: 4 kB / 453.4 MB, free: 9.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008375/0.145, allocations: 0.5677 MB / 454 MB, free: 8.699 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.145, allocations: 12.06 kB / 454 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.1451, allocations: 8 kB / 454 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.259e-05/0.1451, allocations: 19.94 kB / 454.1 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005536/0.1457, allocations: 179.7 kB / 454.2 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.307e-05/0.1457, allocations: 19.94 kB / 454.2 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.146, allocations: 67.28 kB / 454.3 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.146, allocations: 32 kB / 454.3 MB, free: 8.367 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0002464/0.1463, allocations: 193.5 kB / 454.5 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.1465, allocations: 39.61 kB / 454.6 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.1466, allocations: 41.7 kB / 454.6 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.1466, allocations: 7.938 kB / 454.6 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.1466, allocations: 4 kB / 454.6 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.1467, allocations: 4 kB / 454.6 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009682/0.1476, allocations: 405.4 kB / 455 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.1477, allocations: 8 kB / 455 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005053/0.1482, allocations: 127.8 kB / 455.2 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1482, allocations: 4 kB / 455.2 MB, free: 7.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.1482, allocations: 15.98 kB / 455.2 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.1482, allocations: 11.94 kB / 455.2 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.1482, allocations: 4 kB / 455.2 MB, free: 7.461 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008812/0.1491, allocations: 1.08 MB / 456.3 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.279e-05/0.1492, allocations: 112.6 kB / 456.4 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.1493, allocations: 12 kB / 456.4 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/0.1496, allocations: 11.94 kB / 456.4 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.1497, allocations: 27.95 kB / 456.4 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.1497, allocations: 20 kB / 456.5 MB, free: 6.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.1499, allocations: 173.9 kB / 456.6 MB, free: 5.988 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1499, allocations: 3.938 kB / 456.6 MB, free: 5.984 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008128/0.1507, allocations: 135.7 kB / 456.8 MB, free: 5.852 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * 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.0002804/0.151, allocations: 111.2 kB / 456.9 MB, free: 5.734 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006241/0.1516, allocations: 366.3 kB / 457.2 MB, free: 5.379 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1516, allocations: 0 / 457.2 MB, free: 5.379 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.1518, allocations: 128.2 kB / 457.4 MB, free: 5.254 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.1531, allocations: 108.7 kB / 457.5 MB, free: 5.156 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.1559, allocations: 1.976 MB / 459.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.1564, allocations: 0.8275 MB / 460.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001795/0.1566, allocations: 48.16 kB / 460.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.1567, allocations: 35.44 kB / 460.3 MB, free: 2.188 MB / 334.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1567, allocations: 0 / 460.3 MB, free: 2.188 MB / 334.1 MB Notification: Performance of Templates: time 0.008167/0.1649, allocations: 4.087 MB / 464.4 MB, free: 14.14 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches