Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, 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.372/1.372, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001156/0.001156, allocations: 100.4 kB / 291.9 MB, free: 10.95 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.3449/0.3449, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 51.92 kB / 457.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3362, allocations: 60.81 MB / 0.5064 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004334/0.3406, allocations: 3.302 MB / 0.5096 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.3416, allocations: 0.7865 MB / 0.5104 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.3418, allocations: 12.59 kB / 0.5104 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.342, allocations: 53.38 kB / 0.5104 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.3423, allocations: 149.8 kB / 0.5106 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.3425, allocations: 103.4 kB / 0.5107 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000421/0.343, allocations: 0.5697 MB / 0.5112 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.3432, allocations: 147.2 kB / 0.5114 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.3434, allocations: 204.2 kB / 0.5116 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.3437, allocations: 236.2 kB / 0.5118 GB, free: 34.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.3437, allocations: 26.16 kB / 0.5118 GB, free: 34.6 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.342e-05/0.3438, allocations: 30.41 kB / 0.5119 GB, free: 34.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.3439, allocations: 90.31 kB / 0.5119 GB, free: 34.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.3441, allocations: 251.5 kB / 0.5122 GB, free: 34.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004329/0.3445, allocations: 0.5263 MB / 0.5127 GB, free: 34.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3445, allocations: 0 / 0.5127 GB, free: 34.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3446, allocations: 0 / 0.5127 GB, free: 34.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.3446, allocations: 0 / 0.5127 GB, free: 34.19 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0009703/0.3455, allocations: 0.756 MB / 0.5134 GB, free: 33.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3456, allocations: 8.844 kB / 0.5134 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.8e-05/0.3457, allocations: 56.56 kB / 0.5135 GB, free: 33.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.346, allocations: 320.4 kB / 0.5138 GB, free: 33.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.346, allocations: 37.78 kB / 0.5138 GB, free: 33.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.611e-05/0.3461, allocations: 59.59 kB / 0.5139 GB, free: 33.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005489/0.3466, allocations: 436.8 kB / 0.5143 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.3467, allocations: 10.12 kB / 0.5143 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.3467, allocations: 19.03 kB / 0.5143 GB, free: 33.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3467, allocations: 12.09 kB / 0.5144 GB, free: 33.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004664/0.3472, allocations: 321 kB / 0.5147 GB, free: 32.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.3486, allocations: 1.146 MB / 0.5158 GB, free: 32.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006269/0.3492, allocations: 489.2 kB / 0.5162 GB, free: 31.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.3495, allocations: 210.3 kB / 0.5164 GB, free: 31.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.3495, allocations: 7.594 kB / 0.5165 GB, free: 31.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.3495, allocations: 41.88 kB / 0.5165 GB, free: 31.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 1.914e-06/0.3495, allocations: 4.031 kB / 0.5165 GB, free: 31.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.002195/0.3517, allocations: 2.143 MB / 0.5186 GB, free: 30.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.3518, allocations: 86.52 kB / 0.5187 GB, free: 30.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.352, allocations: 251.7 kB / 0.5189 GB, free: 30.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.352, allocations: 36.45 kB / 0.5189 GB, free: 30.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.3521, allocations: 216.2 kB / 0.5192 GB, free: 29.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.3523, allocations: 267.9 kB / 0.5194 GB, free: 29.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.3524, allocations: 121.4 kB / 0.5195 GB, free: 29.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.665e-05/0.3525, allocations: 361.4 kB / 0.5199 GB, free: 29.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.3527, allocations: 162.1 kB / 0.52 GB, free: 29.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.3529, allocations: 271 kB / 0.5203 GB, free: 29.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004729/0.3534, allocations: 476.5 kB / 0.5207 GB, free: 28.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3534, allocations: 0 / 0.5207 GB, free: 28.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0006286/0.354, allocations: 0.5581 MB / 0.5213 GB, free: 28.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3541, allocations: 5.688 kB / 0.5213 GB, free: 28.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3541, allocations: 6.344 kB / 0.5213 GB, free: 28.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3541, allocations: 5.688 kB / 0.5213 GB, free: 28.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005171/0.3546, allocations: 189.7 kB / 0.5215 GB, free: 28.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.3546, allocations: 5.5 kB / 0.5215 GB, free: 28.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.3549, allocations: 23.95 kB / 0.5215 GB, free: 28.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.3549, allocations: 31.94 kB / 0.5215 GB, free: 28.47 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * 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.0001338/0.3551, allocations: 176.6 kB / 0.5217 GB, free: 28.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.088e-05/0.3551, allocations: 42 kB / 0.5217 GB, free: 28.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.3552, allocations: 56.7 kB / 0.5218 GB, free: 28.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.3553, allocations: 15.75 kB / 0.5218 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.3553, allocations: 0 / 0.5218 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3553, allocations: 3.375 kB / 0.5218 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.3567, allocations: 1.455 MB / 0.5232 GB, free: 27.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3568, allocations: 2.75 kB / 0.5232 GB, free: 27.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005387/0.3573, allocations: 162.9 kB / 0.5234 GB, free: 27.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.3573, allocations: 5.062 kB / 0.5234 GB, free: 27.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.3574, allocations: 28.47 kB / 0.5234 GB, free: 27.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.3574, allocations: 13.44 kB / 0.5234 GB, free: 27.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3574, allocations: 3.5 kB / 0.5234 GB, free: 27.25 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.003217/0.3606, allocations: 3.294 MB / 0.5267 GB, free: 25.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/0.3607, allocations: 109.8 kB / 0.5268 GB, free: 24.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.3607, allocations: 19.88 kB / 0.5268 GB, free: 24.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.361, allocations: 19.34 kB / 0.5268 GB, free: 24.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.3611, allocations: 54.44 kB / 0.5269 GB, free: 24.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.3611, allocations: 23.67 kB / 0.5269 GB, free: 24.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.3612, allocations: 174.8 kB / 0.527 GB, free: 24.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3612, allocations: 0 / 0.527 GB, free: 24.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006045/0.3618, allocations: 206.9 kB / 0.5272 GB, free: 24.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * 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.0001029/0.3619, allocations: 128.8 kB / 0.5274 GB, free: 24.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005762/0.3625, allocations: 449.1 kB / 0.5278 GB, free: 24.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3625, allocations: 0 / 0.5278 GB, free: 24.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.3628, allocations: 240 kB / 0.528 GB, free: 24.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008163/0.3636, allocations: 119.4 kB / 0.5281 GB, free: 24.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.3662, allocations: 2.269 MB / 0.5304 GB, free: 22.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.3665, allocations: 0.8677 MB / 0.5312 GB, free: 22.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002396/0.3667, allocations: 66.34 kB / 0.5313 GB, free: 22.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.3669, allocations: 47.5 kB / 0.5313 GB, free: 22.01 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3669, allocations: 4 kB / 0.5313 GB, free: 22 MB / 378.7 MB Notification: Performance of Templates: time 0.01009/0.377, allocations: 6.077 MB / 0.5372 GB, free: 21.57 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches