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.0009615/0.0009618, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001337, allocations: 184.7 kB / 16.92 MB, free: 6.918 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.714/1.714, allocations: 205.4 MB / 223.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3914/0.3914, allocations: 43.58 MB / 315 MB, free: 8.816 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.0006003/0.0006003, allocations: 15.94 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1418, allocations: 58.87 MB / 443.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003485/0.1454, allocations: 2.72 MB / 446.2 MB, free: 9.934 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00069/0.1461, allocations: 414.5 kB / 446.6 MB, free: 9.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.1463, allocations: 11.94 kB / 446.6 MB, free: 9.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.219e-05/0.1463, allocations: 43.62 kB / 446.6 MB, free: 9.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.1467, allocations: 142.8 kB / 446.8 MB, free: 9.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.1469, allocations: 87.92 kB / 446.9 MB, free: 9.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004896/0.1474, allocations: 0.5169 MB / 447.4 MB, free: 8.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.1477, allocations: 137.2 kB / 447.5 MB, free: 8.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.1479, allocations: 167.4 kB / 447.7 MB, free: 8.422 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.1482, allocations: 199 kB / 447.9 MB, free: 8.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.27e-05/0.1482, allocations: 24 kB / 447.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.098e-05/0.1483, allocations: 24 kB / 447.9 MB, free: 8.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.629e-05/0.1484, allocations: 83.61 kB / 448 MB, free: 8.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000256/0.1487, allocations: 260.5 kB / 448.2 MB, free: 7.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005193/0.1492, allocations: 0.4944 MB / 448.7 MB, free: 7.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1492, allocations: 0 / 448.7 MB, free: 7.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.1492, allocations: 0 / 448.7 MB, free: 7.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1492, allocations: 0 / 448.7 MB, free: 7.34 MB / 382.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.00099/0.1502, allocations: 0.6317 MB / 449.4 MB, free: 6.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.1503, allocations: 8.031 kB / 449.4 MB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.094e-05/0.1504, allocations: 56.28 kB / 449.4 MB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.1507, allocations: 295.3 kB / 449.7 MB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.1508, allocations: 33.38 kB / 449.8 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.468e-05/0.1509, allocations: 56.28 kB / 449.8 MB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006861/0.1516, allocations: 462.6 kB / 450.3 MB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.1516, allocations: 12.08 kB / 450.3 MB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.1517, allocations: 31.88 kB / 450.3 MB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.1517, allocations: 12 kB / 450.3 MB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.1521, allocations: 251.8 kB / 450.6 MB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.1544, allocations: 1.707 MB / 452.3 MB, free: 3.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005891/0.155, allocations: 411.9 kB / 452.7 MB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.1552, allocations: 155.8 kB / 452.8 MB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.1552, allocations: 15.86 kB / 452.8 MB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/0.1553, allocations: 50.56 kB / 452.9 MB, free: 2.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 4.499e-06/0.1553, allocations: 0 / 452.9 MB, free: 2.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.000761/0.1561, allocations: 357.8 kB / 453.2 MB, free: 2.508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001623/0.1562, allocations: 277.5 kB / 453.5 MB, free: 2.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.1565, allocations: 250.6 kB / 453.8 MB, free: 1.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.1566, allocations: 29.7 kB / 453.8 MB, free: 1.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.1568, allocations: 239.6 kB / 454 MB, free: 1.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.1569, allocations: 185.4 kB / 454.2 MB, free: 1.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.873e-05/0.157, allocations: 61.69 kB / 454.3 MB, free: 1.402 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.1572, allocations: 346.8 kB / 454.6 MB, free: 1.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.1574, allocations: 117.9 kB / 454.7 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/0.1578, allocations: 421.6 kB / 455.1 MB, free: 396 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2534/0.4112, allocations: 0.5676 MB / 455.7 MB, free: 44.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/0.4113, allocations: 5.375 kB / 455.7 MB, free: 44.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008715/0.4121, allocations: 0.565 MB / 456.3 MB, free: 44.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.4122, allocations: 14 kB / 456.3 MB, free: 44.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.4122, allocations: 12.16 kB / 456.3 MB, free: 44.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.4122, allocations: 14.28 kB / 456.3 MB, free: 44.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/0.4127, allocations: 186.1 kB / 456.5 MB, free: 44.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/0.4128, allocations: 17.42 kB / 456.5 MB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.413, allocations: 62.47 kB / 456.6 MB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.4131, allocations: 34.12 kB / 456.6 MB, free: 44.71 MB / 382.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.0002109/0.4133, allocations: 188.6 kB / 456.8 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.4135, allocations: 35.19 kB / 456.8 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.619e-05/0.4135, allocations: 42.05 kB / 456.9 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.4136, allocations: 6.125 kB / 456.9 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.4136, allocations: 6.531 kB / 456.9 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.4136, allocations: 3.031 kB / 456.9 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008976/0.4145, allocations: 425 kB / 457.3 MB, free: 44.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4145, allocations: 2.562 kB / 457.3 MB, free: 44.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/0.415, allocations: 122.7 kB / 457.4 MB, free: 44.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.415, allocations: 2.625 kB / 457.4 MB, free: 44.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.415, allocations: 14.59 kB / 457.4 MB, free: 44.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.415, allocations: 6.812 kB / 457.4 MB, free: 44.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4151, allocations: 5.781 kB / 457.4 MB, free: 44.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006353/0.4157, allocations: 1.081 MB / 458.5 MB, free: 43.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.4158, allocations: 110.3 kB / 458.6 MB, free: 43.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.4158, allocations: 13.34 kB / 458.6 MB, free: 43.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.4162, allocations: 10.66 kB / 458.6 MB, free: 43.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.4162, allocations: 31.94 kB / 458.7 MB, free: 43.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.4163, allocations: 14.56 kB / 458.7 MB, free: 43.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.4164, allocations: 174.4 kB / 458.9 MB, free: 43.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4164, allocations: 0 / 458.9 MB, free: 43.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007937/0.4172, allocations: 139.2 kB / 459 MB, free: 43.46 MB / 382.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.000149/0.4174, allocations: 119.8 kB / 459.1 MB, free: 43.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004827/0.4178, allocations: 356.4 kB / 459.5 MB, free: 43.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4179, allocations: 0 / 459.5 MB, free: 43.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.418, allocations: 126.5 kB / 459.6 MB, free: 43.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.4192, allocations: 91.59 kB / 459.7 MB, free: 43.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.4217, allocations: 2.486 MB / 462.2 MB, free: 41.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.422, allocations: 0.8264 MB / 463 MB, free: 40.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001658/0.4222, allocations: 53.39 kB / 463 MB, free: 40.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.551e-05/0.4222, allocations: 31.31 kB / 463.1 MB, free: 40.82 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4222, allocations: 0 / 463.1 MB, free: 40.82 MB / 382.1 MB Notification: Performance of Templates: time 0.007253/0.4295, allocations: 3.868 MB / 466.9 MB, free: 40.58 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches