Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002202/0.002201, allocations: 179.4 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001088, allocations: 89.33 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2978/0.2978, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.548e-05/1.546e-05, allocations: 224 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3934, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1573/0.5508, allocations: 85.37 MB / 0.5493 GB, free: 13.94 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.5511, allocations: 63.97 kB / 0.5493 GB, free: 13.88 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04433/0.5955, allocations: 7.043 MB / 0.5562 GB, free: 6.828 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5956, allocations: 0 / 0.5562 GB, free: 6.828 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.738e-05/0.5956, allocations: 8 kB / 0.5562 GB, free: 6.82 MB / 395.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.00186/0.5975, allocations: 0.5962 MB / 0.5568 GB, free: 6.18 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.5976, allocations: 12.03 kB / 0.5568 GB, free: 6.168 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.5978, allocations: 47.44 kB / 0.5569 GB, free: 6.121 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.5982, allocations: 234.5 kB / 0.5571 GB, free: 5.852 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.714e-05/0.5983, allocations: 20 kB / 0.5571 GB, free: 5.832 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.5984, allocations: 35.91 kB / 0.5571 GB, free: 5.797 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009918/0.5995, allocations: 206.6 kB / 0.5573 GB, free: 5.594 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.6008, allocations: 376.2 kB / 0.5577 GB, free: 5.191 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.353e-05/0.6009, allocations: 15.89 kB / 0.5577 GB, free: 5.176 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.521e-05/0.601, allocations: 4 kB / 0.5577 GB, free: 5.172 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.38e-05/0.6011, allocations: 15.95 kB / 0.5577 GB, free: 5.156 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005117/0.6062, allocations: 1.61 MB / 0.5593 GB, free: 3.477 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.6073, allocations: 391.8 kB / 0.5597 GB, free: 3.012 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004087/0.6078, allocations: 131.7 kB / 0.5598 GB, free: 2.855 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.469e-05/0.6079, allocations: 19.92 kB / 0.5598 GB, free: 2.836 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/0.6079, allocations: 38.56 kB / 0.5598 GB, free: 2.789 MB / 395.1 MB Notification: Performance of pre-optimization done (n=42): time 8.486e-06/0.608, allocations: 0 / 0.5598 GB, free: 2.789 MB / 395.1 MB Notification: Performance of matching and sorting (n=42): time 0.001254/0.6092, allocations: 260.3 kB / 0.5601 GB, free: 2.531 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001932/0.6094, allocations: 261 kB / 0.5603 GB, free: 2.215 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.6099, allocations: 194.4 kB / 0.5605 GB, free: 2.02 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.6099, allocations: 25.7 kB / 0.5606 GB, free: 1.988 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/0.6103, allocations: 309.9 kB / 0.5609 GB, free: 1.684 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/0.6106, allocations: 181.4 kB / 0.561 GB, free: 1.504 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.6106, allocations: 4 kB / 0.561 GB, free: 1.5 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.6109, allocations: 338.9 kB / 0.5614 GB, free: 1.16 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004161/0.6113, allocations: 93.56 kB / 0.5614 GB, free: 1.07 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007743/0.6121, allocations: 390 kB / 0.5618 GB, free: 0.5508 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006334/0.6128, allocations: 159.8 kB / 0.562 GB, free: 404 kB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/0.6128, allocations: 4 kB / 0.562 GB, free: 400 kB / 395.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001856/0.6147, allocations: 481.8 kB / 0.5624 GB, free: 15.91 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/0.6147, allocations: 8 kB / 0.5624 GB, free: 15.91 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.6148, allocations: 12 kB / 0.5624 GB, free: 15.89 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.679e-05/0.6149, allocations: 16 kB / 0.5625 GB, free: 15.88 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/0.6166, allocations: 175.7 kB / 0.5626 GB, free: 15.71 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.174e-05/0.6167, allocations: 23.92 kB / 0.5627 GB, free: 15.68 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007499/0.6174, allocations: 47.38 kB / 0.5627 GB, free: 15.64 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.811e-05/0.6175, allocations: 32.31 kB / 0.5627 GB, free: 15.61 MB / 411.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002376/0.6178, allocations: 128.7 kB / 0.5629 GB, free: 15.47 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000409/0.6182, allocations: 39.58 kB / 0.5629 GB, free: 15.43 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.6184, allocations: 37.83 kB / 0.5629 GB, free: 15.4 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/0.6185, allocations: 8 kB / 0.5629 GB, free: 15.39 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.6185, allocations: 0 / 0.5629 GB, free: 15.39 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.115e-05/0.6185, allocations: 7.984 kB / 0.5629 GB, free: 15.38 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.6209, allocations: 353.7 kB / 0.5633 GB, free: 15 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/0.6209, allocations: 0.5469 kB / 0.5633 GB, free: 15 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001951/0.6229, allocations: 127.8 kB / 0.5634 GB, free: 14.88 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.912e-05/0.6229, allocations: 8 kB / 0.5634 GB, free: 14.87 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.67e-05/0.623, allocations: 15.94 kB / 0.5634 GB, free: 14.85 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.637e-05/0.6231, allocations: 4 kB / 0.5634 GB, free: 14.85 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.6231, allocations: 3.938 kB / 0.5634 GB, free: 14.84 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.6249, allocations: 1.138 MB / 0.5645 GB, free: 13.62 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.6252, allocations: 112.7 kB / 0.5647 GB, free: 13.5 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.6253, allocations: 4 kB / 0.5647 GB, free: 13.49 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.6264, allocations: 0 / 0.5647 GB, free: 13.49 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.485e-05/0.6265, allocations: 35.89 kB / 0.5647 GB, free: 13.46 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/0.6266, allocations: 16 kB / 0.5647 GB, free: 13.44 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002948/0.6269, allocations: 154 kB / 0.5649 GB, free: 13.29 MB / 411.1 MB Notification: Performance of sort global known variables: time 8.22e-07/0.6269, allocations: 0 / 0.5649 GB, free: 13.29 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.002057/0.629, allocations: 119.6 kB / 0.565 GB, free: 13.17 MB / 411.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000261/0.6293, allocations: 111.1 kB / 0.5651 GB, free: 13.05 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.6306, allocations: 300.9 kB / 0.5654 GB, free: 12.76 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 6.924e-06/0.6306, allocations: 4 kB / 0.5654 GB, free: 12.76 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004082/0.631, allocations: 112 kB / 0.5655 GB, free: 12.65 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/0.633, allocations: 66.06 kB / 0.5655 GB, free: 12.59 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006838/0.6399, allocations: 1.992 MB / 0.5675 GB, free: 10.53 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008966/0.6409, allocations: 0.8431 MB / 0.5683 GB, free: 9.664 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.6412, allocations: 35.44 kB / 0.5683 GB, free: 9.629 MB / 411.1 MB Notification: Performance of SimCode: time 1.453e-06/0.6412, allocations: 0 / 0.5683 GB, free: 9.629 MB / 411.1 MB Notification: Performance of Templates: time 0.01708/0.6583, allocations: 4.793 MB / 0.573 GB, free: 4.844 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches