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.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.001873/0.001873, allocations: 69.8 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.002309/0.002309, allocations: 162.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.671/1.671, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2017/0.2017, allocations: 32.8 MB / 294.1 MB, free: 4 kB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 63.91 kB / 440.6 MB, free: 9.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3143, allocations: 65.44 MB / 0.4941 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003258/0.3176, allocations: 2.999 MB / 0.4971 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3187, allocations: 0.8101 MB / 0.4979 GB, free: 28.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.3189, allocations: 14.38 kB / 0.4979 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.319, allocations: 71.3 kB / 0.4979 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002487/0.3193, allocations: 175.8 kB / 0.4981 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.3195, allocations: 110.9 kB / 0.4982 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004084/0.3199, allocations: 0.5986 MB / 0.4988 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.3201, allocations: 111.5 kB / 0.4989 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.3203, allocations: 238.7 kB / 0.4991 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.3205, allocations: 210.7 kB / 0.4993 GB, free: 28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.214e-05/0.3206, allocations: 45.88 kB / 0.4994 GB, free: 28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.346e-05/0.3206, allocations: 44.66 kB / 0.4994 GB, free: 28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.902e-05/0.3207, allocations: 96.53 kB / 0.4995 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.3209, allocations: 219.8 kB / 0.4997 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003944/0.3213, allocations: 0.5705 MB / 0.5003 GB, free: 27.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3213, allocations: 4 kB / 0.5003 GB, free: 27.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3213, allocations: 3.938 kB / 0.5003 GB, free: 27.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3213, allocations: 3.938 kB / 0.5003 GB, free: 27.59 MB / 446.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.0008973/0.3222, allocations: 0.6923 MB / 0.501 GB, free: 27.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3222, allocations: 9.594 kB / 0.501 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.434e-05/0.3223, allocations: 61.2 kB / 0.501 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.3226, allocations: 265.6 kB / 0.5013 GB, free: 26.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.3227, allocations: 36.41 kB / 0.5013 GB, free: 26.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7e-05/0.3227, allocations: 56.36 kB / 0.5014 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005539/0.3233, allocations: 436.1 kB / 0.5018 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/0.3233, allocations: 10.09 kB / 0.5018 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/0.3234, allocations: 19.16 kB / 0.5018 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.3234, allocations: 16.36 kB / 0.5018 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004288/0.3238, allocations: 312.2 kB / 0.5021 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.325, allocations: 0.9313 MB / 0.503 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006256/0.3257, allocations: 381.6 kB / 0.5034 GB, free: 25.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.3259, allocations: 200.1 kB / 0.5036 GB, free: 25.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.3259, allocations: 6.375 kB / 0.5036 GB, free: 25.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.3259, allocations: 41.38 kB / 0.5036 GB, free: 25.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=62): time 2.444e-06/0.3259, allocations: 0 / 0.5036 GB, free: 25.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=74): time 0.002219/0.3282, allocations: 1.851 MB / 0.5054 GB, free: 24.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.3282, allocations: 86.83 kB / 0.5055 GB, free: 24.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.3284, allocations: 238.5 kB / 0.5058 GB, free: 24.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.3284, allocations: 36.73 kB / 0.5058 GB, free: 24.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.958e-05/0.3285, allocations: 215.2 kB / 0.506 GB, free: 24.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.3286, allocations: 284.5 kB / 0.5063 GB, free: 23.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.3287, allocations: 121.1 kB / 0.5064 GB, free: 23.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.3288, allocations: 364.4 kB / 0.5067 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.329, allocations: 155.8 kB / 0.5069 GB, free: 23.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.3292, allocations: 276.3 kB / 0.5071 GB, free: 23.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004772/0.3297, allocations: 469.4 kB / 0.5076 GB, free: 22.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3297, allocations: 6.938 kB / 0.5076 GB, free: 22.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0006268/0.3303, allocations: 0.5652 MB / 0.5082 GB, free: 22.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3303, allocations: 5.719 kB / 0.5082 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.3303, allocations: 7.547 kB / 0.5082 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.3304, allocations: 10.06 kB / 0.5082 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/0.3309, allocations: 179.1 kB / 0.5083 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.3309, allocations: 5.969 kB / 0.5084 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.3311, allocations: 24.56 kB / 0.5084 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.3311, allocations: 26.88 kB / 0.5084 GB, free: 22.59 MB / 446.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.0001405/0.3313, allocations: 182.8 kB / 0.5086 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.587e-05/0.3313, allocations: 49.5 kB / 0.5086 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.728e-05/0.3314, allocations: 53.56 kB / 0.5087 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3314, allocations: 13.22 kB / 0.5087 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.3315, allocations: 0 / 0.5087 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.3315, allocations: 3.609 kB / 0.5087 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.3328, allocations: 1.283 MB / 0.5099 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3328, allocations: 3.094 kB / 0.5099 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/0.3334, allocations: 158.1 kB / 0.5101 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3334, allocations: 6.062 kB / 0.5101 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.3334, allocations: 16.69 kB / 0.5101 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.3334, allocations: 9.781 kB / 0.5101 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3334, allocations: 6.719 kB / 0.5101 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009191/0.3343, allocations: 0.9176 MB / 0.511 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.3344, allocations: 37.53 kB / 0.5111 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.3344, allocations: 27.41 kB / 0.5111 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.3347, allocations: 19.41 kB / 0.5111 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.3348, allocations: 54.42 kB / 0.5112 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.3348, allocations: 24.25 kB / 0.5112 GB, free: 20.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.3349, allocations: 166.9 kB / 0.5113 GB, free: 20.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3349, allocations: 0 / 0.5113 GB, free: 20.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005283/0.3354, allocations: 146.5 kB / 0.5115 GB, free: 20.71 MB / 446.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.0001121/0.3355, allocations: 129.2 kB / 0.5116 GB, free: 20.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006177/0.3362, allocations: 430.8 kB / 0.512 GB, free: 20.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3362, allocations: 1.125 kB / 0.512 GB, free: 20.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.3364, allocations: 221.3 kB / 0.5122 GB, free: 20.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00078/0.3372, allocations: 141.1 kB / 0.5124 GB, free: 20.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.3394, allocations: 1.653 MB / 0.514 GB, free: 19.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.3396, allocations: 247.4 kB / 0.5142 GB, free: 19.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001903/0.3398, allocations: 58.86 kB / 0.5143 GB, free: 19.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.3399, allocations: 42.06 kB / 0.5143 GB, free: 19.02 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3399, allocations: 1.188 kB / 0.5143 GB, free: 19.02 MB / 446.1 MB Notification: Performance of Templates: time 0.01102/0.3509, allocations: 5.35 MB / 0.5195 GB, free: 18.28 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.403936985065229]