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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 108.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 183.1 kB / 19.38 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 222.9 MB / 243.1 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1962/0.1962, allocations: 44.19 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 59.91 kB / 471.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3213, allocations: 60.82 MB / 0.5195 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003776/0.3251, allocations: 3.278 MB / 0.5227 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.3265, allocations: 0.7999 MB / 0.5235 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/0.3268, allocations: 11.34 kB / 0.5235 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.327, allocations: 75.89 kB / 0.5236 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.3273, allocations: 177.2 kB / 0.5238 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.3275, allocations: 107.2 kB / 0.5239 GB, free: 448 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000487/0.328, allocations: 0.5839 MB / 0.5245 GB, free: 144 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.3283, allocations: 179.8 kB / 0.5246 GB, free: 48 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.3286, allocations: 229.1 kB / 0.5248 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.3289, allocations: 238 kB / 0.5251 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.511e-05/0.329, allocations: 43.66 kB / 0.5251 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.161e-05/0.3291, allocations: 43.28 kB / 0.5252 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.46e-05/0.3292, allocations: 102.8 kB / 0.5252 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.3294, allocations: 268.2 kB / 0.5255 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006089/0.33, allocations: 0.5601 MB / 0.5261 GB, free: 15.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.33, allocations: 0 / 0.5261 GB, free: 15.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.33, allocations: 0 / 0.5261 GB, free: 15.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.3301, allocations: 5.562 kB / 0.5261 GB, free: 15.38 MB / 398.1 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.0009871/0.3311, allocations: 0.746 MB / 0.5268 GB, free: 14.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.3311, allocations: 8.25 kB / 0.5268 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.228e-05/0.3312, allocations: 59.78 kB / 0.5269 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.3316, allocations: 323.8 kB / 0.5272 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.3317, allocations: 36.62 kB / 0.5272 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.044e-05/0.3318, allocations: 57.08 kB / 0.5272 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006805/0.3324, allocations: 439.9 kB / 0.5277 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/0.3325, allocations: 9.594 kB / 0.5277 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/0.3325, allocations: 19.25 kB / 0.5277 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.3326, allocations: 16.03 kB / 0.5277 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004914/0.333, allocations: 313.8 kB / 0.528 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.3345, allocations: 1.143 MB / 0.5291 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006575/0.3352, allocations: 492.6 kB / 0.5296 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/0.3355, allocations: 217.2 kB / 0.5298 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3355, allocations: 7.094 kB / 0.5298 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.3356, allocations: 38.19 kB / 0.5298 GB, free: 12.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 1.984e-06/0.3356, allocations: 0 / 0.5298 GB, free: 12.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.00277/0.3383, allocations: 2.137 MB / 0.5319 GB, free: 11.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.3384, allocations: 89.67 kB / 0.532 GB, free: 11.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.3386, allocations: 260 kB / 0.5323 GB, free: 10.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.3387, allocations: 36.33 kB / 0.5323 GB, free: 10.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.3388, allocations: 212.3 kB / 0.5325 GB, free: 10.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.339, allocations: 266.7 kB / 0.5328 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.3391, allocations: 123.6 kB / 0.5329 GB, free: 10.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3392, allocations: 356.2 kB / 0.5332 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.3395, allocations: 158.5 kB / 0.5334 GB, free: 9.914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.3398, allocations: 277.9 kB / 0.5336 GB, free: 9.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005576/0.3404, allocations: 477.4 kB / 0.5341 GB, free: 9.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3404, allocations: 5.062 kB / 0.5341 GB, free: 9.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007649/0.3411, allocations: 0.5598 MB / 0.5346 GB, free: 9.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3412, allocations: 5.875 kB / 0.5346 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.3412, allocations: 7.328 kB / 0.5347 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.3412, allocations: 5.469 kB / 0.5347 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005535/0.3418, allocations: 181 kB / 0.5348 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.3418, allocations: 9.688 kB / 0.5348 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.342, allocations: 26.55 kB / 0.5349 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/0.3421, allocations: 26.91 kB / 0.5349 GB, free: 9.066 MB / 398.1 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.0001872/0.3423, allocations: 179.2 kB / 0.5351 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.823e-05/0.3424, allocations: 46.41 kB / 0.5351 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.3425, allocations: 59.14 kB / 0.5352 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.3425, allocations: 7.5 kB / 0.5352 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.3425, allocations: 5.094 kB / 0.5352 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.3425, allocations: 7.922 kB / 0.5352 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.3443, allocations: 1.44 MB / 0.5366 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3443, allocations: 2.531 kB / 0.5366 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005886/0.3449, allocations: 161.6 kB / 0.5367 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.345, allocations: 6.5 kB / 0.5367 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.345, allocations: 23.84 kB / 0.5368 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-06/0.345, allocations: 9.297 kB / 0.5368 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.345, allocations: 7.188 kB / 0.5368 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009923/0.346, allocations: 0.9099 MB / 0.5377 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.3462, allocations: 126.6 kB / 0.5378 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.413e-05/0.3462, allocations: 23.72 kB / 0.5378 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.3465, allocations: 15.03 kB / 0.5378 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.3466, allocations: 46.53 kB / 0.5379 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.3466, allocations: 21.09 kB / 0.5379 GB, free: 6.852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.3468, allocations: 184 kB / 0.5381 GB, free: 6.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3468, allocations: 3.938 kB / 0.5381 GB, free: 6.719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005171/0.3473, allocations: 147.8 kB / 0.5382 GB, free: 6.695 MB / 398.1 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.0001317/0.3475, allocations: 125.6 kB / 0.5383 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006566/0.3481, allocations: 460.8 kB / 0.5388 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.3481, allocations: 0.7812 kB / 0.5388 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000294/0.3484, allocations: 239.2 kB / 0.539 GB, free: 6.305 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008105/0.3492, allocations: 124.5 kB / 0.5391 GB, free: 6.234 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.3516, allocations: 1.671 MB / 0.5408 GB, free: 4.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.352, allocations: 0.845 MB / 0.5416 GB, free: 4.184 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.3522, allocations: 45.62 kB / 0.5416 GB, free: 4.176 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3522, allocations: 0 / 0.5416 GB, free: 4.176 MB / 398.1 MB Notification: Performance of Templates: time 0.009286/0.3615, allocations: 6.014 MB / 0.5475 GB, free: 14.69 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches