Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.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_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, 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.432/1.432, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 97.81 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4293/0.4293, allocations: 44.83 MB / 392.7 MB, free: 34.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 59.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3073, allocations: 62.02 MB / 0.5152 GB, free: 37.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003193/0.3105, allocations: 3.322 MB / 0.5184 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009582/0.3115, allocations: 0.8222 MB / 0.5192 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.3116, allocations: 9.125 kB / 0.5192 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.3118, allocations: 54.77 kB / 0.5193 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.312, allocations: 154.5 kB / 0.5194 GB, free: 34.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.3122, allocations: 91.06 kB / 0.5195 GB, free: 34.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.3126, allocations: 0.5722 MB / 0.5201 GB, free: 34.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.3128, allocations: 154.1 kB / 0.5202 GB, free: 34.22 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.3129, allocations: 202.8 kB / 0.5204 GB, free: 34.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.3132, allocations: 232.6 kB / 0.5206 GB, free: 34.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.672e-05/0.3132, allocations: 29.12 kB / 0.5206 GB, free: 34.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.756e-05/0.3133, allocations: 29 kB / 0.5207 GB, free: 34.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.12e-05/0.3133, allocations: 91.61 kB / 0.5208 GB, free: 33.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.3135, allocations: 247.3 kB / 0.521 GB, free: 33.83 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.3138, allocations: 0.5198 MB / 0.5215 GB, free: 33.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.3138, allocations: 4 kB / 0.5215 GB, free: 33.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3138, allocations: 4 kB / 0.5215 GB, free: 33.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.3139, allocations: 6.781 kB / 0.5215 GB, free: 33.61 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.0009296/0.3148, allocations: 0.7522 MB / 0.5222 GB, free: 33.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.3148, allocations: 10.56 kB / 0.5223 GB, free: 33.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.305e-05/0.3149, allocations: 59.69 kB / 0.5223 GB, free: 33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.3152, allocations: 318 kB / 0.5226 GB, free: 32.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.3153, allocations: 40.75 kB / 0.5227 GB, free: 32.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.303e-05/0.3153, allocations: 56.84 kB / 0.5227 GB, free: 32.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005475/0.3159, allocations: 434.3 kB / 0.5231 GB, free: 32.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.3159, allocations: 9.938 kB / 0.5231 GB, free: 32.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.316, allocations: 21.41 kB / 0.5232 GB, free: 32.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.316, allocations: 10.56 kB / 0.5232 GB, free: 32.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004112/0.3164, allocations: 317.5 kB / 0.5235 GB, free: 32.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.3177, allocations: 1.145 MB / 0.5246 GB, free: 31.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.3182, allocations: 484.2 kB / 0.5251 GB, free: 31.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.3185, allocations: 216.9 kB / 0.5253 GB, free: 31.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.3185, allocations: 10.19 kB / 0.5253 GB, free: 31.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.3185, allocations: 41.53 kB / 0.5253 GB, free: 31.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 2.094e-06/0.3185, allocations: 0 / 0.5253 GB, free: 31.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.00218/0.3207, allocations: 2.141 MB / 0.5274 GB, free: 29.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3208, allocations: 83.45 kB / 0.5275 GB, free: 29.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.3209, allocations: 255.7 kB / 0.5277 GB, free: 29.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.321, allocations: 40.52 kB / 0.5278 GB, free: 29.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.456e-05/0.3211, allocations: 207.8 kB / 0.528 GB, free: 29.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.3212, allocations: 272.5 kB / 0.5282 GB, free: 29.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.3213, allocations: 121.1 kB / 0.5283 GB, free: 29.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.3214, allocations: 358.9 kB / 0.5287 GB, free: 28.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.3216, allocations: 163.3 kB / 0.5288 GB, free: 28.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.3219, allocations: 275.4 kB / 0.5291 GB, free: 28.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009029/0.3228, allocations: 469.8 kB / 0.5295 GB, free: 28.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3229, allocations: 0 / 0.5295 GB, free: 28.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001259/0.3241, allocations: 0.5643 MB / 0.5301 GB, free: 27.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.3242, allocations: 5.719 kB / 0.5301 GB, free: 27.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.3242, allocations: 2.891 kB / 0.5301 GB, free: 27.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.705e-05/0.3243, allocations: 12.58 kB / 0.5301 GB, free: 27.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009196/0.3252, allocations: 181.2 kB / 0.5303 GB, free: 27.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/0.3252, allocations: 8.625 kB / 0.5303 GB, free: 27.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.3257, allocations: 28.28 kB / 0.5303 GB, free: 27.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.354e-05/0.3258, allocations: 28.25 kB / 0.5303 GB, free: 27.89 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.0002734/0.3261, allocations: 177.7 kB / 0.5305 GB, free: 27.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.3262, allocations: 42.78 kB / 0.5306 GB, free: 27.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.3264, allocations: 59.92 kB / 0.5306 GB, free: 27.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.3264, allocations: 5.844 kB / 0.5306 GB, free: 27.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/0.3264, allocations: 0 / 0.5306 GB, free: 27.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.3265, allocations: 9.281 kB / 0.5306 GB, free: 27.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/0.3291, allocations: 1.459 MB / 0.5321 GB, free: 26.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.3291, allocations: 6.5 kB / 0.5321 GB, free: 26.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009051/0.3301, allocations: 154.5 kB / 0.5322 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/0.3301, allocations: 7.188 kB / 0.5322 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-05/0.3301, allocations: 22.8 kB / 0.5322 GB, free: 26.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/0.3302, allocations: 9.75 kB / 0.5322 GB, free: 26.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.3302, allocations: 2.844 kB / 0.5322 GB, free: 26.68 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.005713/0.3359, allocations: 3.297 MB / 0.5355 GB, free: 24.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.3361, allocations: 114.1 kB / 0.5356 GB, free: 24.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.031e-05/0.3362, allocations: 23.38 kB / 0.5356 GB, free: 24.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.3366, allocations: 15.84 kB / 0.5356 GB, free: 24.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.3367, allocations: 53.7 kB / 0.5357 GB, free: 24.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.516e-05/0.3368, allocations: 23.69 kB / 0.5357 GB, free: 24.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002446/0.3371, allocations: 176.4 kB / 0.5359 GB, free: 24.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3371, allocations: 0 / 0.5359 GB, free: 24.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001042/0.3381, allocations: 209.1 kB / 0.5361 GB, free: 24.23 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.0001759/0.3383, allocations: 119.4 kB / 0.5362 GB, free: 24.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009372/0.3393, allocations: 455.2 kB / 0.5366 GB, free: 23.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3393, allocations: 4 kB / 0.5366 GB, free: 23.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004245/0.3397, allocations: 239 kB / 0.5368 GB, free: 23.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.341, allocations: 121.7 kB / 0.537 GB, free: 23.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.345, allocations: 2.261 MB / 0.5392 GB, free: 22.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.3454, allocations: 0.8623 MB / 0.54 GB, free: 21.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000382/0.3458, allocations: 76 kB / 0.5401 GB, free: 21.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.3461, allocations: 46.97 kB / 0.5401 GB, free: 21.43 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.3461, allocations: 3.938 kB / 0.5401 GB, free: 21.43 MB / 378.7 MB Notification: Performance of Templates: time 0.02002/0.3661, allocations: 6.081 MB / 0.5461 GB, free: 20.99 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches