Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001237/0.001237, 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.368/1.368, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009837/0.0009836, allocations: 107.5 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.354/0.354, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 68.11 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3217, allocations: 62.02 MB / 0.5152 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.08348/0.4052, allocations: 85.92 MB / 0.5991 GB, free: 3.406 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.05172/0.457, allocations: 15.47 MB / 0.6142 GB, free: 3.883 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02759/0.4846, allocations: 359.2 kB / 0.6145 GB, free: 3.531 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009085/0.4938, allocations: 3.066 MB / 0.6175 GB, free: 468 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007364/0.5013, allocations: 1.657 MB / 0.6191 GB, free: 14.79 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.5033, allocations: 411.5 kB / 0.6195 GB, free: 14.39 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.009121/0.5125, allocations: 5.858 MB / 0.6252 GB, free: 8.516 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005978/0.5185, allocations: 3.583 MB / 0.6287 GB, free: 4.879 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003175/0.5217, allocations: 1.685 MB / 0.6304 GB, free: 3.188 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004956/0.5267, allocations: 3.112 MB / 0.6334 GB, free: 68 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001717/0.5284, allocations: 328 kB / 0.6337 GB, free: 15.74 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.5314, allocations: 0.8193 MB / 0.6345 GB, free: 14.93 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002949/0.5344, allocations: 2.111 MB / 0.6366 GB, free: 12.8 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004882/0.5393, allocations: 2.653 MB / 0.6392 GB, free: 10.14 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.5506, allocations: 8.313 MB / 0.6473 GB, free: 1.797 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/0.5507, allocations: 4 kB / 0.6473 GB, free: 1.793 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5507, allocations: 0 / 0.6473 GB, free: 1.793 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005164/0.5512, allocations: 0 / 0.6473 GB, free: 1.793 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.08686/0.6381, allocations: 11.22 MB / 0.6583 GB, free: 6.484 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.6382, allocations: 12.03 kB / 0.6583 GB, free: 6.473 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008239/0.6464, allocations: 1.853 MB / 0.6601 GB, free: 4.609 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008407/0.6549, allocations: 3.294 MB / 0.6633 GB, free: 1.258 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003086/0.6552, allocations: 291.6 kB / 0.6636 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002448/0.6577, allocations: 403.7 kB / 0.664 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3211/0.9787, allocations: 19.54 MB / 0.683 GB, free: 127.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004319/0.9792, allocations: 56.16 kB / 0.6831 GB, free: 127.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002626/0.9819, allocations: 180.9 kB / 0.6833 GB, free: 127.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00603/0.9879, allocations: 2.344 MB / 0.6856 GB, free: 126.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05779/1.046, allocations: 22.39 MB / 0.7074 GB, free: 121.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07379/1.12, allocations: 52.51 MB / 0.7587 GB, free: 77.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06451/1.184, allocations: 9.163 MB / 0.7677 GB, free: 68.06 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003349/1.188, allocations: 3.02 MB / 0.7706 GB, free: 65.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001602/1.189, allocations: 363.4 kB / 0.7709 GB, free: 64.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/1.189, allocations: 55.88 kB / 0.771 GB, free: 64.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=212): time 5.35e-06/1.189, allocations: 0.5625 kB / 0.771 GB, free: 64.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=212): time 0.1282/1.317, allocations: 16.1 MB / 0.7867 GB, free: 48.51 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/1.318, allocations: 149.8 kB / 0.7869 GB, free: 48.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008849/1.326, allocations: 4.698 MB / 0.7915 GB, free: 43.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007555/1.327, allocations: 57.89 kB / 0.7915 GB, free: 43.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002299/1.33, allocations: 3.489 MB / 0.7949 GB, free: 40.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001337/1.331, allocations: 0.8484 MB / 0.7957 GB, free: 39.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003538/1.335, allocations: 1.54 MB / 0.7972 GB, free: 37.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.377e-05/1.335, allocations: 301.1 kB / 0.7975 GB, free: 37.31 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003957/1.339, allocations: 3.168 MB / 0.8006 GB, free: 34.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006492/1.345, allocations: 7.468 MB / 0.8079 GB, free: 24.53 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/1.356, allocations: 11.49 MB / 0.8191 GB, free: 10.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000146/1.356, allocations: 44 kB / 0.8192 GB, free: 10.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.0176/1.374, allocations: 10.6 MB / 0.8295 GB, free: 248 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001741/1.374, allocations: 69 kB / 0.8296 GB, free: 180 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000308/1.375, allocations: 155.9 kB / 0.8298 GB, free: 24 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003921/1.375, allocations: 204 kB / 0.8299 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007097/1.382, allocations: 1.805 MB / 0.8317 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004422/1.383, allocations: 298.9 kB / 0.832 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007536/1.39, allocations: 0.924 MB / 0.8329 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001944/1.392, allocations: 0.5114 MB / 0.8334 GB, free: 12.28 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (855): * Single equations (assignments): 852 * Array equations: 3 * 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.006502/1.399, allocations: 2.315 MB / 0.8357 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002545/1.401, allocations: 398.8 kB / 0.836 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/1.411, allocations: 4.873 MB / 0.8408 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.611e-05/1.412, allocations: 24 kB / 0.8408 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.865e-05/1.412, allocations: 480 / 0.8408 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.885e-05/1.412, allocations: 11.95 kB / 0.8408 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.027/1.439, allocations: 11.53 MB / 0.8521 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.143e-05/1.439, allocations: 4 kB / 0.8521 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003118/1.442, allocations: 0.6045 MB / 0.8527 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.383e-05/1.442, allocations: 19.94 kB / 0.8527 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005075/1.442, allocations: 151.7 kB / 0.8528 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.898e-05/1.442, allocations: 15.94 kB / 0.8529 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/1.442, allocations: 15.94 kB / 0.8529 GB, free: 8.133 MB / 0.5105 GB 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.02959/1.472, allocations: 16.76 MB / 0.8692 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/1.474, allocations: 0.4992 MB / 0.8697 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001341/1.475, allocations: 51.94 kB / 0.8698 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002809/1.478, allocations: 91.95 kB / 0.8699 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007335/1.479, allocations: 232.8 kB / 0.8701 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005942/1.479, allocations: 171.7 kB / 0.8703 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00645/1.486, allocations: 2.95 MB / 0.8731 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.7e-07/1.486, allocations: 0 / 0.8731 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008695/1.494, allocations: 1.653 MB / 0.8748 GB, free: 1.426 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.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 (208): * Single equations (assignments): 205 * Array equations: 3 * 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.0008328/1.495, allocations: 201.5 kB / 0.8749 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2955/1.791, allocations: 7.079 MB / 0.8819 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/1.791, allocations: 0 / 0.8819 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00298/1.794, allocations: 2.451 MB / 0.8843 GB, free: 162.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004797/1.799, allocations: 0.5228 MB / 0.8848 GB, free: 162.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02473/1.823, allocations: 15.75 MB / 0.9001 GB, free: 154 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006/1.829, allocations: 3.661 MB / 0.9037 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008258/1.838, allocations: 2.31 MB / 0.906 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002785/1.841, allocations: 0.5988 MB / 0.9066 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.182e-06/1.841, allocations: 0 / 0.9066 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.1121/1.953, allocations: 60.82 MB / 0.9659 GB, free: 107.8 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches