Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 200 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007141/0.0007142, allocations: 98.61 kB / 299.9 MB, free: 5.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3132/0.3132, allocations: 45.02 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000239/0.0002391, allocations: 8 kB / 470.8 MB, free: 7.145 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3326, allocations: 63.11 MB / 0.5214 GB, free: 38.49 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002384/0.335, allocations: 2.612 MB / 0.5239 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005189/0.3355, allocations: 422.6 kB / 0.5243 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.3357, allocations: 12 kB / 0.5243 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.73e-05/0.3358, allocations: 47.59 kB / 0.5244 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002487/0.336, allocations: 144.1 kB / 0.5245 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.3362, allocations: 81.78 kB / 0.5246 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003522/0.3366, allocations: 0.52 MB / 0.5251 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002342/0.3368, allocations: 128.1 kB / 0.5252 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.337, allocations: 181.6 kB / 0.5254 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.3372, allocations: 202.8 kB / 0.5256 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.89e-05/0.3373, allocations: 24.84 kB / 0.5256 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.852e-05/0.3374, allocations: 25.38 kB / 0.5256 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.489e-05/0.3374, allocations: 74.88 kB / 0.5257 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.3376, allocations: 253.1 kB / 0.526 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.338, allocations: 499.7 kB / 0.5264 GB, free: 35.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.338, allocations: 0 / 0.5264 GB, free: 35.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.338, allocations: 0 / 0.5264 GB, free: 35.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.338, allocations: 0 / 0.5264 GB, free: 35.25 MB / 378.7 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.0007714/0.3388, allocations: 0.6413 MB / 0.5271 GB, free: 34.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.3389, allocations: 8.562 kB / 0.5271 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.649e-05/0.3389, allocations: 56.67 kB / 0.5271 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.3392, allocations: 294.8 kB / 0.5274 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.3392, allocations: 34.94 kB / 0.5274 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.3393, allocations: 52.53 kB / 0.5275 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005506/0.3399, allocations: 454.7 kB / 0.5279 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.3399, allocations: 6.812 kB / 0.5279 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.3399, allocations: 25.88 kB / 0.5279 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.34, allocations: 11.59 kB / 0.528 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003567/0.3403, allocations: 261.3 kB / 0.5282 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.3421, allocations: 1.706 MB / 0.5299 GB, free: 32.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/0.3425, allocations: 407 kB / 0.5303 GB, free: 32.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.3426, allocations: 158.2 kB / 0.5304 GB, free: 32.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.3427, allocations: 5.875 kB / 0.5304 GB, free: 32.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.3427, allocations: 48.52 kB / 0.5305 GB, free: 32.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.573e-06/0.3427, allocations: 3.938 kB / 0.5305 GB, free: 32.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005921/0.3433, allocations: 354.5 kB / 0.5308 GB, free: 32.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.3434, allocations: 275.1 kB / 0.5311 GB, free: 31.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.3435, allocations: 246.8 kB / 0.5313 GB, free: 31.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3436, allocations: 40.3 kB / 0.5313 GB, free: 31.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.727e-05/0.3437, allocations: 245.5 kB / 0.5316 GB, free: 31.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.531e-05/0.3438, allocations: 180.5 kB / 0.5317 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.3438, allocations: 14.69 kB / 0.5318 GB, free: 31.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.06e-05/0.3438, allocations: 346.8 kB / 0.5321 GB, free: 30.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.344, allocations: 121.6 kB / 0.5322 GB, free: 30.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.3443, allocations: 414.5 kB / 0.5326 GB, free: 30.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004652/0.3447, allocations: 0.5712 MB / 0.5332 GB, free: 29.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3448, allocations: 2.844 kB / 0.5332 GB, free: 29.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006348/0.3454, allocations: 0.5593 MB / 0.5337 GB, free: 29.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3454, allocations: 8.375 kB / 0.5337 GB, free: 29.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.3454, allocations: 10.16 kB / 0.5337 GB, free: 29.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.3455, allocations: 17.98 kB / 0.5337 GB, free: 29.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/0.346, allocations: 181.5 kB / 0.5339 GB, free: 29.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/0.346, allocations: 17.16 kB / 0.5339 GB, free: 29.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.3462, allocations: 61.88 kB / 0.534 GB, free: 29.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.3462, allocations: 32.84 kB / 0.534 GB, free: 29.59 MB / 378.7 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.0001275/0.3464, allocations: 188.9 kB / 0.5342 GB, free: 29.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.3465, allocations: 38.94 kB / 0.5342 GB, free: 29.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.669e-05/0.3466, allocations: 41.64 kB / 0.5343 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.3466, allocations: 10.38 kB / 0.5343 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.3466, allocations: 4.438 kB / 0.5343 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3466, allocations: 5.484 kB / 0.5343 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007811/0.3474, allocations: 415.7 kB / 0.5347 GB, free: 29.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3475, allocations: 8.344 kB / 0.5347 GB, free: 29.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004862/0.3479, allocations: 124.1 kB / 0.5348 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.348, allocations: 5.25 kB / 0.5348 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.348, allocations: 17.25 kB / 0.5348 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.348, allocations: 9.188 kB / 0.5349 GB, free: 29.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.348, allocations: 2.625 kB / 0.5349 GB, free: 29.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005897/0.3486, allocations: 1.078 MB / 0.5359 GB, free: 28.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.3487, allocations: 107.2 kB / 0.536 GB, free: 28.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.3487, allocations: 16.42 kB / 0.536 GB, free: 28.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.3491, allocations: 17.19 kB / 0.536 GB, free: 28.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.3491, allocations: 38.52 kB / 0.5361 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.3491, allocations: 10.5 kB / 0.5361 GB, free: 28.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001142/0.3492, allocations: 173.5 kB / 0.5363 GB, free: 27.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3492, allocations: 0 / 0.5363 GB, free: 27.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006327/0.3499, allocations: 136.8 kB / 0.5364 GB, free: 27.91 MB / 378.7 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.0001208/0.35, allocations: 121.7 kB / 0.5365 GB, free: 27.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003985/0.3504, allocations: 339.6 kB / 0.5368 GB, free: 27.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3504, allocations: 4.062 kB / 0.5368 GB, free: 27.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.3506, allocations: 132.2 kB / 0.537 GB, free: 27.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.3516, allocations: 85.84 kB / 0.537 GB, free: 27.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.3539, allocations: 2.475 MB / 0.5395 GB, free: 25.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.3541, allocations: 0.826 MB / 0.5403 GB, free: 25.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000148/0.3543, allocations: 45.98 kB / 0.5403 GB, free: 25.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.098e-05/0.3544, allocations: 37.81 kB / 0.5403 GB, free: 25.03 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3544, allocations: 0 / 0.5403 GB, free: 25.03 MB / 378.7 MB Notification: Performance of Templates: time 0.008416/0.3628, allocations: 3.876 MB / 0.5441 GB, free: 24.73 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches