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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 102.9 kB / 291.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3778/0.3778, allocations: 44.12 MB / 386.1 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 47.92 kB / 457.7 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3475, allocations: 60.79 MB / 0.5064 GB, free: 38.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003613/0.3511, allocations: 3.105 MB / 0.5094 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006986/0.3519, allocations: 408 kB / 0.5098 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.352, allocations: 11.03 kB / 0.5098 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.3522, allocations: 51.97 kB / 0.5099 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.3525, allocations: 142 kB / 0.51 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.3528, allocations: 84.3 kB / 0.5101 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004443/0.3532, allocations: 0.5216 MB / 0.5106 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.3535, allocations: 138.1 kB / 0.5107 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.3537, allocations: 182.9 kB / 0.5109 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.3539, allocations: 210.3 kB / 0.5111 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.545e-05/0.3539, allocations: 28.56 kB / 0.5111 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.443e-05/0.354, allocations: 26.12 kB / 0.5111 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.036e-05/0.3541, allocations: 94.83 kB / 0.5112 GB, free: 35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.3542, allocations: 228.8 kB / 0.5115 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.3546, allocations: 0.4999 MB / 0.5119 GB, free: 34.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3546, allocations: 2.844 kB / 0.5119 GB, free: 34.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3546, allocations: 0 / 0.5119 GB, free: 34.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3546, allocations: 0 / 0.5119 GB, free: 34.68 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.0008264/0.3554, allocations: 0.7132 MB / 0.5126 GB, free: 34.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3555, allocations: 8.375 kB / 0.5127 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.769e-05/0.3556, allocations: 56.22 kB / 0.5127 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.3559, allocations: 290.5 kB / 0.513 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.3559, allocations: 38.09 kB / 0.513 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.971e-05/0.356, allocations: 51.19 kB / 0.5131 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000577/0.3565, allocations: 463.7 kB / 0.5135 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.3566, allocations: 6.906 kB / 0.5135 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.3566, allocations: 25.69 kB / 0.5135 GB, free: 33.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.3566, allocations: 11.22 kB / 0.5136 GB, free: 33.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003674/0.357, allocations: 261.7 kB / 0.5138 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.3588, allocations: 1.697 MB / 0.5155 GB, free: 32.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.3592, allocations: 412.7 kB / 0.5159 GB, free: 31.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.3594, allocations: 166 kB / 0.516 GB, free: 31.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.3594, allocations: 3.359 kB / 0.516 GB, free: 31.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.3594, allocations: 52.58 kB / 0.5161 GB, free: 31.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.044e-06/0.3594, allocations: 0 / 0.5161 GB, free: 31.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006705/0.3601, allocations: 358 kB / 0.5164 GB, free: 31.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.3602, allocations: 271.1 kB / 0.5167 GB, free: 31.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.3604, allocations: 253.7 kB / 0.5169 GB, free: 31.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3605, allocations: 35.61 kB / 0.5169 GB, free: 31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.428e-05/0.3606, allocations: 244.8 kB / 0.5172 GB, free: 30.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.208e-05/0.3607, allocations: 179.8 kB / 0.5173 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.3608, allocations: 117.1 kB / 0.5175 GB, free: 30.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.285e-05/0.3609, allocations: 345.5 kB / 0.5178 GB, free: 30.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.361, allocations: 120.4 kB / 0.5179 GB, free: 30.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.3613, allocations: 418.2 kB / 0.5183 GB, free: 29.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/0.3617, allocations: 0.5777 MB / 0.5189 GB, free: 29.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.3617, allocations: 2.844 kB / 0.5189 GB, free: 29.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007258/0.3625, allocations: 0.5631 MB / 0.5194 GB, free: 29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.3625, allocations: 11.34 kB / 0.5194 GB, free: 29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.3625, allocations: 15.38 kB / 0.5194 GB, free: 29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-05/0.3626, allocations: 18.28 kB / 0.5195 GB, free: 29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005247/0.3631, allocations: 184.1 kB / 0.5196 GB, free: 28.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.448e-05/0.3631, allocations: 21.14 kB / 0.5197 GB, free: 28.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.3634, allocations: 62.41 kB / 0.5197 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/0.3635, allocations: 32.69 kB / 0.5197 GB, free: 28.92 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.0002058/0.3637, allocations: 179.5 kB / 0.5199 GB, free: 28.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/0.3639, allocations: 41.34 kB / 0.52 GB, free: 28.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.185e-05/0.364, allocations: 48.36 kB / 0.52 GB, free: 28.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.364, allocations: 9.156 kB / 0.52 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/0.364, allocations: 2.781 kB / 0.52 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.3641, allocations: 3.406 kB / 0.52 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009663/0.365, allocations: 422.8 kB / 0.5204 GB, free: 28.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.365, allocations: 6.969 kB / 0.5204 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005139/0.3656, allocations: 123.3 kB / 0.5205 GB, free: 28.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.3656, allocations: 2.75 kB / 0.5205 GB, free: 28.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.3656, allocations: 11.12 kB / 0.5206 GB, free: 28.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.355e-06/0.3656, allocations: 9.891 kB / 0.5206 GB, free: 28.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.3657, allocations: 7.859 kB / 0.5206 GB, free: 28.39 MB / 378.7 MB Error: The model contains alias variables with conflicting fixed start values. It is necessary to resolve the conflicts, because otherwise the initial system is impossible to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003011/0.3687, allocations: 3.376 MB / 0.5239 GB, free: 25.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.3687, allocations: 110.8 kB / 0.524 GB, free: 25.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.3688, allocations: 13.09 kB / 0.524 GB, free: 25.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.3691, allocations: 13.09 kB / 0.524 GB, free: 25.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.3692, allocations: 30.67 kB / 0.524 GB, free: 25.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.3692, allocations: 13.53 kB / 0.524 GB, free: 25.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001173/0.3693, allocations: 174.2 kB / 0.5242 GB, free: 25.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.3693, allocations: 0 / 0.5242 GB, free: 25.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008833/0.3702, allocations: 199.1 kB / 0.5244 GB, free: 25.66 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.0001599/0.3704, allocations: 109.9 kB / 0.5245 GB, free: 25.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004739/0.3709, allocations: 343.3 kB / 0.5248 GB, free: 25.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3709, allocations: 0 / 0.5248 GB, free: 25.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.371, allocations: 131.3 kB / 0.525 GB, free: 25.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.3721, allocations: 101.3 kB / 0.5251 GB, free: 25.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.3748, allocations: 2.42 MB / 0.5274 GB, free: 23.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.3752, allocations: 0.8403 MB / 0.5282 GB, free: 22.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000223/0.3754, allocations: 64.55 kB / 0.5283 GB, free: 22.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.195e-05/0.3755, allocations: 39.42 kB / 0.5283 GB, free: 22.72 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3755, allocations: 0 / 0.5283 GB, free: 22.72 MB / 378.7 MB Notification: Performance of Templates: time 0.008008/0.3835, allocations: 4.826 MB / 0.5331 GB, free: 22.39 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches