Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 80.2 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9259/0.9259, allocations: 158.6 MB / 185.9 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1382/0.1382, allocations: 32.38 MB / 270.7 MB, free: 14.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.43e-05, allocations: 2.312 kB / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.002799/0.002824, allocations: 3.23 MB / 351.3 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.004029, allocations: 0.8343 MB / 352.2 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002342/0.004263, allocations: 15.88 kB / 352.2 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.004444, allocations: 67.25 kB / 352.3 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.004719, allocations: 194.3 kB / 352.4 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.004917, allocations: 107.8 kB / 352.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.005266, allocations: 0.6218 MB / 353.2 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.005454, allocations: 113.9 kB / 353.3 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.005717, allocations: 351.2 kB / 353.6 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.005866, allocations: 179.5 kB / 353.8 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.005911, allocations: 44 kB / 353.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.503e-05/0.005956, allocations: 44 kB / 353.9 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.475e-05/0.006, allocations: 103.6 kB / 354 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.006102, allocations: 187.6 kB / 354.2 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.006376, allocations: 374.6 kB / 354.5 MB, free: 2.723 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.006379, allocations: 0 / 354.5 MB, free: 2.723 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.006381, allocations: 4 kB / 354.5 MB, free: 2.719 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.006385, allocations: 0 / 354.5 MB, free: 2.719 MB / 282.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.000613/0.006998, allocations: 0.7997 MB / 355.3 MB, free: 1.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.007035, allocations: 12.03 kB / 355.3 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.143e-05/0.007117, allocations: 88.61 kB / 355.4 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.00733, allocations: 283.2 kB / 355.7 MB, free: 1.477 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.007348, allocations: 37.31 kB / 355.7 MB, free: 1.441 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.007393, allocations: 56.33 kB / 355.8 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.007648, allocations: 332.7 kB / 356.1 MB, free: 1.043 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.007667, allocations: 8.141 kB / 356.1 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.007687, allocations: 20.36 kB / 356.2 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.007695, allocations: 15.94 kB / 356.2 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.007838, allocations: 168.2 kB / 356.3 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008402/0.008678, allocations: 0.9585 MB / 357.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.009055, allocations: 302 kB / 357.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.009175, allocations: 132.8 kB / 357.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.009193, allocations: 8.5 kB / 357.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.009218, allocations: 41.89 kB / 357.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 1.813e-06/0.00922, allocations: 0 / 357.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.001407/0.01063, allocations: 1.462 MB / 359.2 MB, free: 13.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.01067, allocations: 85.61 kB / 359.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.01081, allocations: 288 kB / 359.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.01083, allocations: 37.7 kB / 359.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.01093, allocations: 260 kB / 359.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.01106, allocations: 281.5 kB / 360.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.01117, allocations: 136.2 kB / 360.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.01131, allocations: 0.5273 MB / 360.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.01139, allocations: 73.92 kB / 360.9 MB, free: 12.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.01154, allocations: 230.7 kB / 361.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.01183, allocations: 356.4 kB / 361.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.01183, allocations: 0 / 361.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0004017/0.01223, allocations: 456.7 kB / 361.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.01225, allocations: 8 kB / 361.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.01226, allocations: 0 / 361.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.01227, allocations: 8 kB / 361.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.0126, allocations: 183.7 kB / 362.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.01261, allocations: 8 kB / 362.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.01274, allocations: 24.28 kB / 362.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.01276, allocations: 20 kB / 362.2 MB, free: 10.66 MB / 298.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.0001165/0.01287, allocations: 196.4 kB / 362.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.056e-05/0.01294, allocations: 75.64 kB / 362.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.998e-05/0.013, allocations: 51.62 kB / 362.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.01301, allocations: 8 kB / 362.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.01302, allocations: 0 / 362.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.01302, allocations: 7.984 kB / 362.5 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.0142, allocations: 1.226 MB / 363.7 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.01421, allocations: 4 kB / 363.7 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.01457, allocations: 155.8 kB / 363.9 MB, free: 8.828 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.01457, allocations: 8.344 kB / 363.9 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.0146, allocations: 23.94 kB / 363.9 MB, free: 8.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.0146, allocations: 8 kB / 363.9 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.01461, allocations: 4 kB / 363.9 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006603/0.01527, allocations: 0.8459 MB / 364.8 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.01531, allocations: 43.7 kB / 364.8 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.01535, allocations: 20 kB / 364.8 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.01551, allocations: 19.98 kB / 364.8 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.01565, allocations: 56.3 kB / 364.9 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.01567, allocations: 23.98 kB / 364.9 MB, free: 7.715 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.307e-05/0.01575, allocations: 181.1 kB / 365.1 MB, free: 7.539 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01575, allocations: 0 / 365.1 MB, free: 7.539 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003763/0.01612, allocations: 148 kB / 365.2 MB, free: 7.395 MB / 298.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.0001431/0.01627, allocations: 115.1 kB / 365.4 MB, free: 7.273 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004191/0.01669, allocations: 330.1 kB / 365.7 MB, free: 6.945 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.01669, allocations: 0 / 365.7 MB, free: 6.945 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.01687, allocations: 191.5 kB / 365.9 MB, free: 6.758 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000529/0.0174, allocations: 132.8 kB / 366 MB, free: 6.629 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.01927, allocations: 1.383 MB / 367.4 MB, free: 5.164 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.01938, allocations: 135.3 kB / 367.5 MB, free: 5.016 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.01953, allocations: 56.66 kB / 367.6 MB, free: 4.961 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.01975, allocations: 194.1 kB / 367.8 MB, free: 4.77 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01975, allocations: 0 / 367.8 MB, free: 4.77 MB / 298.7 MB Notification: Performance of Templates: time 0.008449/0.0282, allocations: 5.846 MB / 373.6 MB, free: 15.01 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.180712478235364]