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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001664/0.001664, allocations: 77.78 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001901/0.001901, allocations: 161.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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 177.1 MB / 204.7 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.223/0.223, allocations: 34.27 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002415/0.002415, allocations: 79.88 kB / 443.1 MB, free: 6.516 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.318, allocations: 66.05 MB / 0.4973 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003703/0.3217, allocations: 3.008 MB / 0.5002 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3229, allocations: 0.8086 MB / 0.501 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.3231, allocations: 17.62 kB / 0.501 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.3232, allocations: 71.53 kB / 0.5011 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.3235, allocations: 177.6 kB / 0.5012 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.3237, allocations: 112.6 kB / 0.5013 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004127/0.3241, allocations: 0.5947 MB / 0.5019 GB, free: 26.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.3243, allocations: 111.1 kB / 0.502 GB, free: 26.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.3246, allocations: 235 kB / 0.5023 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.3248, allocations: 215.4 kB / 0.5025 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.241e-05/0.3248, allocations: 48.38 kB / 0.5025 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.269e-05/0.3249, allocations: 42.84 kB / 0.5025 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.244e-05/0.325, allocations: 95.2 kB / 0.5026 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.3251, allocations: 224.7 kB / 0.5029 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004164/0.3256, allocations: 0.5691 MB / 0.5034 GB, free: 25.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3256, allocations: 0 / 0.5034 GB, free: 25.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3256, allocations: 0 / 0.5034 GB, free: 25.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.3256, allocations: 0 / 0.5034 GB, free: 25.95 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.0008326/0.3264, allocations: 0.7016 MB / 0.5041 GB, free: 25.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.3264, allocations: 11.5 kB / 0.5041 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.391e-05/0.3265, allocations: 54.05 kB / 0.5042 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.3269, allocations: 267.9 kB / 0.5044 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.3269, allocations: 36.41 kB / 0.5044 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.815e-05/0.327, allocations: 61.11 kB / 0.5045 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005145/0.3275, allocations: 438.2 kB / 0.5049 GB, free: 24.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.3275, allocations: 7.328 kB / 0.5049 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.3276, allocations: 22.59 kB / 0.505 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3276, allocations: 9.312 kB / 0.505 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003949/0.328, allocations: 311.7 kB / 0.5053 GB, free: 24.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.3291, allocations: 0.9355 MB / 0.5062 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005409/0.3297, allocations: 383.7 kB / 0.5065 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.3299, allocations: 191.2 kB / 0.5067 GB, free: 23.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.3299, allocations: 10.58 kB / 0.5067 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.3299, allocations: 38.09 kB / 0.5068 GB, free: 23.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=62): time 2.034e-06/0.3299, allocations: 3.062 kB / 0.5068 GB, free: 23.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=74): time 0.002159/0.3321, allocations: 1.854 MB / 0.5086 GB, free: 22.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.3321, allocations: 86.86 kB / 0.5087 GB, free: 22.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.3323, allocations: 239.3 kB / 0.5089 GB, free: 22.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.3323, allocations: 36.86 kB / 0.5089 GB, free: 22.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.3324, allocations: 213 kB / 0.5091 GB, free: 22.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.3325, allocations: 279.6 kB / 0.5094 GB, free: 22.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.3326, allocations: 119.8 kB / 0.5095 GB, free: 22.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.312e-05/0.3326, allocations: 360.4 kB / 0.5099 GB, free: 21.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.3329, allocations: 160.6 kB / 0.51 GB, free: 21.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.3331, allocations: 274.8 kB / 0.5103 GB, free: 21.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/0.3336, allocations: 468.2 kB / 0.5107 GB, free: 21.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3336, allocations: 7.938 kB / 0.5107 GB, free: 21.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007086/0.3343, allocations: 0.5644 MB / 0.5113 GB, free: 20.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3343, allocations: 6.531 kB / 0.5113 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.3343, allocations: 2.875 kB / 0.5113 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.3343, allocations: 6.5 kB / 0.5113 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005616/0.3349, allocations: 178.8 kB / 0.5115 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.3349, allocations: 9.875 kB / 0.5115 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.3351, allocations: 29.61 kB / 0.5115 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.3352, allocations: 27.31 kB / 0.5115 GB, free: 20.94 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.000138/0.3353, allocations: 179.4 kB / 0.5117 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.021e-05/0.3354, allocations: 50.62 kB / 0.5117 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.137e-05/0.3355, allocations: 53.36 kB / 0.5118 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.3355, allocations: 6.75 kB / 0.5118 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.3355, allocations: 1.156 kB / 0.5118 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.3355, allocations: 7.656 kB / 0.5118 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.3371, allocations: 1.284 MB / 0.5131 GB, free: 19.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3371, allocations: 4.125 kB / 0.5131 GB, free: 19.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/0.3377, allocations: 156 kB / 0.5132 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/0.3377, allocations: 6.656 kB / 0.5132 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.3377, allocations: 22.53 kB / 0.5132 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.3377, allocations: 8.609 kB / 0.5132 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3377, allocations: 6.781 kB / 0.5133 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008683/0.3386, allocations: 0.9171 MB / 0.5142 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.078e-05/0.3387, allocations: 40.98 kB / 0.5142 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.3387, allocations: 23.34 kB / 0.5142 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.339, allocations: 23.11 kB / 0.5142 GB, free: 19.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.339, allocations: 47.12 kB / 0.5143 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.3391, allocations: 26.98 kB / 0.5143 GB, free: 19.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.3392, allocations: 163.4 kB / 0.5145 GB, free: 19.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3392, allocations: 0 / 0.5145 GB, free: 19.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004927/0.3397, allocations: 146.8 kB / 0.5146 GB, free: 19.07 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.0001023/0.3398, allocations: 131 kB / 0.5147 GB, free: 18.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005932/0.3404, allocations: 432.1 kB / 0.5151 GB, free: 18.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3404, allocations: 4 kB / 0.5151 GB, free: 18.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.3406, allocations: 224.2 kB / 0.5154 GB, free: 18.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/0.3414, allocations: 130 kB / 0.5155 GB, free: 18.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.3433, allocations: 1.648 MB / 0.5171 GB, free: 17.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.3435, allocations: 250.8 kB / 0.5173 GB, free: 17.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.3437, allocations: 60.48 kB / 0.5174 GB, free: 17.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.605e-05/0.3438, allocations: 41.81 kB / 0.5174 GB, free: 17.38 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3438, allocations: 0 / 0.5174 GB, free: 17.38 MB / 446.1 MB Notification: Performance of Templates: time 0.01124/0.355, allocations: 5.37 MB / 0.5227 GB, free: 16.62 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.293895705952309]