Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001499/0.001499, allocations: 111.7 kB / 18.46 MB, free: 4.594 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.001446/0.001446, allocations: 182.1 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2867/0.2867, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.89 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4069, allocations: 60.82 MB / 0.5196 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.005086/0.412, allocations: 3.067 MB / 0.5226 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.4131, allocations: 420 kB / 0.523 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.4133, allocations: 11.25 kB / 0.523 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.4134, allocations: 68.03 kB / 0.523 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004396/0.4139, allocations: 166.8 kB / 0.5232 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.4143, allocations: 99.61 kB / 0.5233 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006865/0.415, allocations: 0.5393 MB / 0.5238 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003604/0.4154, allocations: 161.7 kB / 0.524 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/0.4157, allocations: 201.7 kB / 0.5242 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.4161, allocations: 217.7 kB / 0.5244 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.226e-05/0.4161, allocations: 44.5 kB / 0.5244 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.841e-05/0.4162, allocations: 40 kB / 0.5244 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.88e-05/0.4163, allocations: 96.17 kB / 0.5245 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.4165, allocations: 246.5 kB / 0.5248 GB, free: 412 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007715/0.4173, allocations: 0.5275 MB / 0.5253 GB, free: 192 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4174, allocations: 1.625 kB / 0.5253 GB, free: 192 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4174, allocations: 0.6094 kB / 0.5253 GB, free: 192 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.4174, allocations: 3.938 kB / 0.5253 GB, free: 188 kB / 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.001498/0.4189, allocations: 0.7103 MB / 0.526 GB, free: 15.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.419, allocations: 9.078 kB / 0.526 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.4191, allocations: 51.53 kB / 0.526 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.4196, allocations: 290.2 kB / 0.5263 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.4196, allocations: 32.62 kB / 0.5264 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.4197, allocations: 57.22 kB / 0.5264 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.4208, allocations: 462.1 kB / 0.5268 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.168e-05/0.4208, allocations: 9.719 kB / 0.5269 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.695e-05/0.4209, allocations: 24.06 kB / 0.5269 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.4209, allocations: 12.38 kB / 0.5269 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006181/0.4215, allocations: 265.4 kB / 0.5271 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00299/0.4245, allocations: 1.683 MB / 0.5288 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007456/0.4253, allocations: 414.5 kB / 0.5292 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.4256, allocations: 159.3 kB / 0.5293 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.4256, allocations: 9.484 kB / 0.5293 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/0.4257, allocations: 56 kB / 0.5294 GB, free: 12.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 3.025e-06/0.4257, allocations: 0 / 0.5294 GB, free: 12.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.001103/0.4268, allocations: 351.4 kB / 0.5297 GB, free: 12.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/0.427, allocations: 274.1 kB / 0.53 GB, free: 12.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.4273, allocations: 256.3 kB / 0.5302 GB, free: 12.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.4274, allocations: 31.08 kB / 0.5303 GB, free: 12.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.4276, allocations: 242.9 kB / 0.5305 GB, free: 12.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.4278, allocations: 186.2 kB / 0.5307 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.428, allocations: 107.2 kB / 0.5308 GB, free: 11.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.4282, allocations: 355.5 kB / 0.5311 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.4285, allocations: 113.8 kB / 0.5312 GB, free: 11.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005516/0.429, allocations: 422.5 kB / 0.5316 GB, free: 10.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009684/0.43, allocations: 0.5741 MB / 0.5322 GB, free: 10.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.43, allocations: 2.781 kB / 0.5322 GB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001319/0.4313, allocations: 0.5715 MB / 0.5328 GB, free: 10.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.4314, allocations: 9.312 kB / 0.5328 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/0.4314, allocations: 10.81 kB / 0.5328 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.205e-05/0.4315, allocations: 14.41 kB / 0.5328 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009001/0.4324, allocations: 176.1 kB / 0.533 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-05/0.4324, allocations: 26.17 kB / 0.533 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004959/0.4329, allocations: 62.44 kB / 0.533 GB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-05/0.433, allocations: 36.19 kB / 0.5331 GB, free: 9.98 MB / 398.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.0002798/0.4333, allocations: 193.8 kB / 0.5333 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/0.4337, allocations: 36.41 kB / 0.5333 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.4338, allocations: 45.7 kB / 0.5333 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.4338, allocations: 6.734 kB / 0.5333 GB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.4338, allocations: 5.219 kB / 0.5333 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.434, allocations: 113.4 kB / 0.5335 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.621e-05/0.434, allocations: 13.62 kB / 0.5335 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007596/0.4348, allocations: 6.625 kB / 0.5335 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.4349, allocations: 38.95 kB / 0.5335 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001769/0.4367, allocations: 1.068 MB / 0.5346 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001521/0.4382, allocations: 1.22 MB / 0.5357 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001987/0.4385, allocations: 135.3 kB / 0.5359 GB, free: 7.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.4386, allocations: 169.5 kB / 0.536 GB, free: 7.488 MB / 398.1 MB Notification: Performance of Backend: time 4.61e-07/0.4386, allocations: 0 / 0.536 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.44, allocations: 362.5 kB / 0.5364 GB, free: 7.289 MB / 398.1 MB Notification: Performance of SimCode: time 0.003135/0.4431, allocations: 2.436 MB / 0.5388 GB, free: 5.246 MB / 398.1 MB Notification: Performance of Templates: time 0.009159/0.4523, allocations: 4.693 MB / 0.5433 GB, free: 2.949 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches