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.001138/0.001139, allocations: 108.1 kB / 17.03 MB, free: 5.703 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.001094/0.001094, allocations: 194.9 kB / 17.96 MB, free: 5.082 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.569/1.569, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2453/0.2453, allocations: 43.52 MB / 314.7 MB, free: 476 kB / 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.001535/0.001535, allocations: 68.67 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1325, allocations: 57.8 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003648/0.1362, allocations: 3.057 MB / 445 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006267/0.1368, allocations: 414.5 kB / 445.4 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.137, allocations: 15.88 kB / 445.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.1371, allocations: 67.3 kB / 445.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.1374, allocations: 162.6 kB / 445.7 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.1376, allocations: 99.88 kB / 445.8 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000377/0.138, allocations: 0.5364 MB / 446.3 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/0.1383, allocations: 160.7 kB / 446.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.1384, allocations: 199.3 kB / 446.6 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.1386, allocations: 215 kB / 446.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.821e-05/0.1387, allocations: 44 kB / 446.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.583e-05/0.1388, allocations: 40 kB / 446.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.498e-05/0.1388, allocations: 95.67 kB / 447 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.139, allocations: 246.9 kB / 447.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.1394, allocations: 0.5255 MB / 447.8 MB, free: 268 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1394, allocations: 0 / 447.8 MB, free: 268 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1394, allocations: 0 / 447.8 MB, free: 268 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1394, allocations: 0 / 447.8 MB, free: 268 kB / 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.001024/0.1405, allocations: 0.7215 MB / 448.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1405, allocations: 11.89 kB / 448.5 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.204e-05/0.1406, allocations: 52.38 kB / 448.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.1409, allocations: 287.5 kB / 448.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.141, allocations: 37.38 kB / 448.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.973e-05/0.1411, allocations: 52.28 kB / 449 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006574/0.1417, allocations: 462.5 kB / 449.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/0.1418, allocations: 20.02 kB / 449.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.1418, allocations: 19.94 kB / 449.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.1418, allocations: 12 kB / 449.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.1423, allocations: 264.9 kB / 449.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.1445, allocations: 1.687 MB / 451.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005394/0.1451, allocations: 419.9 kB / 451.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.1453, allocations: 151.8 kB / 452 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.1453, allocations: 11.98 kB / 452 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.1454, allocations: 46.5 kB / 452 MB, free: 11.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 1.804e-06/0.1454, allocations: 0 / 452 MB, free: 11.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007283/0.1461, allocations: 352.9 kB / 452.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.1463, allocations: 269.5 kB / 452.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.1466, allocations: 246.8 kB / 452.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.1466, allocations: 37.7 kB / 452.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.1468, allocations: 243.5 kB / 453.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.1469, allocations: 181.5 kB / 453.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.1471, allocations: 114.6 kB / 453.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1472, allocations: 350.7 kB / 453.8 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.1474, allocations: 125.9 kB / 453.9 MB, free: 9.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/0.1478, allocations: 417.6 kB / 454.3 MB, free: 9.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000657/0.1485, allocations: 0.5815 MB / 454.9 MB, free: 8.453 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.1485, allocations: 3.938 kB / 454.9 MB, free: 8.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007804/0.1493, allocations: 0.5673 MB / 455.5 MB, free: 7.875 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1493, allocations: 12 kB / 455.5 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.1493, allocations: 8 kB / 455.5 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/0.1494, allocations: 16 kB / 455.5 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/0.1499, allocations: 179.7 kB / 455.7 MB, free: 7.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.299e-05/0.1499, allocations: 20.42 kB / 455.7 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/0.1502, allocations: 67.38 kB / 455.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.1503, allocations: 32 kB / 455.8 MB, free: 7.547 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.0001965/0.1505, allocations: 189.5 kB / 456 MB, free: 7.352 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.1507, allocations: 39.53 kB / 456 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.13e-05/0.1507, allocations: 41.7 kB / 456 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.1508, allocations: 15.92 kB / 456.1 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.1508, allocations: 4 kB / 456.1 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1508, allocations: 3.984 kB / 456.1 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009819/0.1518, allocations: 413.2 kB / 456.5 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.1518, allocations: 8 kB / 456.5 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005393/0.1523, allocations: 119.9 kB / 456.6 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.1524, allocations: 4 kB / 456.6 MB, free: 6.668 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.1524, allocations: 16 kB / 456.6 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.1524, allocations: 12 kB / 456.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.1524, allocations: 4 kB / 456.6 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000777/0.1532, allocations: 1.071 MB / 457.7 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.396e-05/0.1533, allocations: 120.6 kB / 457.8 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.1534, allocations: 12 kB / 457.8 MB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/0.1538, allocations: 11.94 kB / 457.8 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.1538, allocations: 31.97 kB / 457.9 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.1539, allocations: 15.98 kB / 457.9 MB, free: 5.336 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.154, allocations: 170 kB / 458.1 MB, free: 5.168 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.154, allocations: 0 / 458.1 MB, free: 5.168 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008483/0.1549, allocations: 135.7 kB / 458.2 MB, free: 5.035 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.0002082/0.1551, allocations: 115.1 kB / 458.3 MB, free: 4.914 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005491/0.1556, allocations: 350.6 kB / 458.6 MB, free: 4.574 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1557, allocations: 4.062 kB / 458.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.1558, allocations: 136.6 kB / 458.8 MB, free: 4.438 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.157, allocations: 100.6 kB / 458.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.1597, allocations: 1.968 MB / 460.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.1601, allocations: 0.8314 MB / 461.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.1603, allocations: 48.16 kB / 461.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.1603, allocations: 31.44 kB / 461.8 MB, free: 1.383 MB / 334.1 MB Notification: Performance of SimCode: time 1.423e-06/0.1604, allocations: 0 / 461.8 MB, free: 1.383 MB / 334.1 MB Notification: Performance of Templates: time 0.0084/0.1688, allocations: 4.076 MB / 465.8 MB, free: 13.34 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/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