Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001022/0.001021, allocations: 110.2 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.403/0.403, allocations: 44.84 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001094, allocations: 67.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3023, allocations: 62.01 MB / 0.5151 GB, free: 37.7 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003111/0.3054, allocations: 3.115 MB / 0.5182 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004894/0.3059, allocations: 415.6 kB / 0.5186 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.3061, allocations: 9.375 kB / 0.5186 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.3062, allocations: 48.42 kB / 0.5186 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.3064, allocations: 144.9 kB / 0.5188 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.3066, allocations: 82.06 kB / 0.5189 GB, free: 35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.3069, allocations: 0.5286 MB / 0.5194 GB, free: 34.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.3071, allocations: 128.8 kB / 0.5195 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.3072, allocations: 189 kB / 0.5197 GB, free: 34.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.3074, allocations: 211.8 kB / 0.5199 GB, free: 34.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.3075, allocations: 28.53 kB / 0.5199 GB, free: 34.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.103e-05/0.3075, allocations: 28.38 kB / 0.5199 GB, free: 34.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.3076, allocations: 82.83 kB / 0.52 GB, free: 34.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.3078, allocations: 237.7 kB / 0.5202 GB, free: 34.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.308, allocations: 0.4917 MB / 0.5207 GB, free: 34.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3081, allocations: 0 / 0.5207 GB, free: 34.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3081, allocations: 2.906 kB / 0.5207 GB, free: 34.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.3081, allocations: 0 / 0.5207 GB, free: 34.1 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.0007432/0.3088, allocations: 0.7119 MB / 0.5214 GB, free: 33.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.3089, allocations: 11.62 kB / 0.5214 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.683e-05/0.3089, allocations: 50.47 kB / 0.5215 GB, free: 33.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.3092, allocations: 297.3 kB / 0.5218 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.3092, allocations: 37.34 kB / 0.5218 GB, free: 33.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.717e-05/0.3092, allocations: 55.25 kB / 0.5218 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004778/0.3097, allocations: 456 kB / 0.5223 GB, free: 32.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.3098, allocations: 20.94 kB / 0.5223 GB, free: 32.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.3098, allocations: 18.69 kB / 0.5223 GB, free: 32.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.3098, allocations: 13.66 kB / 0.5223 GB, free: 32.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.3101, allocations: 263.9 kB / 0.5226 GB, free: 32.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.3118, allocations: 1.697 MB / 0.5242 GB, free: 31.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.3121, allocations: 419.7 kB / 0.5246 GB, free: 31.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.3123, allocations: 153.4 kB / 0.5248 GB, free: 31.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.3123, allocations: 9.781 kB / 0.5248 GB, free: 31.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.3123, allocations: 52.66 kB / 0.5248 GB, free: 31.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.623e-06/0.3123, allocations: 2.875 kB / 0.5249 GB, free: 31.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005815/0.3129, allocations: 347.7 kB / 0.5252 GB, free: 30.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.313, allocations: 277.2 kB / 0.5254 GB, free: 30.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.3132, allocations: 254.1 kB / 0.5257 GB, free: 30.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.3132, allocations: 32.3 kB / 0.5257 GB, free: 30.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.904e-05/0.3133, allocations: 243.2 kB / 0.526 GB, free: 30.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.092e-05/0.3133, allocations: 186.7 kB / 0.5261 GB, free: 30.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.402e-05/0.3134, allocations: 110 kB / 0.5262 GB, free: 30.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.137e-05/0.3135, allocations: 347.8 kB / 0.5266 GB, free: 29.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.3137, allocations: 125 kB / 0.5267 GB, free: 29.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.3139, allocations: 418.1 kB / 0.5271 GB, free: 29.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/0.3144, allocations: 0.5724 MB / 0.5276 GB, free: 28.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3144, allocations: 2.969 kB / 0.5276 GB, free: 28.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006301/0.315, allocations: 0.5721 MB / 0.5282 GB, free: 28.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.315, allocations: 7.938 kB / 0.5282 GB, free: 28.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.315, allocations: 10.84 kB / 0.5282 GB, free: 28.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.3151, allocations: 18.28 kB / 0.5282 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/0.3155, allocations: 179.2 kB / 0.5284 GB, free: 28.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.3156, allocations: 21.53 kB / 0.5284 GB, free: 28.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.3158, allocations: 64.53 kB / 0.5285 GB, free: 28.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.3158, allocations: 33.97 kB / 0.5285 GB, free: 28.34 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.0001172/0.316, allocations: 187.2 kB / 0.5287 GB, free: 28.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.3161, allocations: 38.53 kB / 0.5287 GB, free: 28.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.952e-05/0.3162, allocations: 41.02 kB / 0.5288 GB, free: 28.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.3162, allocations: 9.656 kB / 0.5288 GB, free: 28.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.3162, allocations: 2.844 kB / 0.5288 GB, free: 28.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.3162, allocations: 6.219 kB / 0.5288 GB, free: 28.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000782/0.317, allocations: 416.8 kB / 0.5292 GB, free: 27.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.317, allocations: 2.812 kB / 0.5292 GB, free: 27.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/0.3175, allocations: 129.1 kB / 0.5293 GB, free: 27.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3175, allocations: 2.656 kB / 0.5293 GB, free: 27.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.3176, allocations: 14.03 kB / 0.5293 GB, free: 27.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3176, allocations: 14.17 kB / 0.5294 GB, free: 27.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.3176, allocations: 2.969 kB / 0.5294 GB, free: 27.81 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.002652/0.3202, allocations: 3.372 MB / 0.5326 GB, free: 25.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.3203, allocations: 111.9 kB / 0.5328 GB, free: 25.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.3204, allocations: 21.56 kB / 0.5328 GB, free: 25.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.3207, allocations: 7 kB / 0.5328 GB, free: 25.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.3208, allocations: 29.17 kB / 0.5328 GB, free: 25.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.3208, allocations: 19.16 kB / 0.5328 GB, free: 25.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.637e-05/0.3209, allocations: 169.3 kB / 0.533 GB, free: 25.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3209, allocations: 0 / 0.533 GB, free: 25.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008214/0.3217, allocations: 189.5 kB / 0.5332 GB, free: 25.09 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.0001403/0.3219, allocations: 115.4 kB / 0.5333 GB, free: 24.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004283/0.3223, allocations: 351.4 kB / 0.5336 GB, free: 24.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3223, allocations: 0 / 0.5336 GB, free: 24.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.3225, allocations: 127.8 kB / 0.5337 GB, free: 24.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.3236, allocations: 94.03 kB / 0.5338 GB, free: 24.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.326, allocations: 2.432 MB / 0.5362 GB, free: 22.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.3262, allocations: 0.8388 MB / 0.537 GB, free: 22.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000186/0.3264, allocations: 61.33 kB / 0.5371 GB, free: 22.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/0.3265, allocations: 38.94 kB / 0.5371 GB, free: 22.13 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.3265, allocations: 0 / 0.5371 GB, free: 22.13 MB / 378.7 MB Notification: Performance of Templates: time 0.008446/0.335, allocations: 4.815 MB / 0.5418 GB, free: 21.8 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@2/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