Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001762/0.001762, allocations: 73.72 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.00235/0.00235, allocations: 160.3 kB / 24.5 MB, free: 3.715 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.5/1.5, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2862/0.2862, allocations: 34.28 MB / 295.5 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 67.88 kB / 443.2 MB, free: 6.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3265, allocations: 66 MB / 0.4972 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003273/0.3297, allocations: 3.009 MB / 0.5002 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3308, allocations: 0.7963 MB / 0.5009 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.331, allocations: 14.47 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.3311, allocations: 71.28 kB / 0.501 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.3314, allocations: 184.9 kB / 0.5012 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.3316, allocations: 108.6 kB / 0.5013 GB, free: 27.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00037/0.3319, allocations: 0.5945 MB / 0.5019 GB, free: 26.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.3321, allocations: 116.6 kB / 0.502 GB, free: 26.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.3323, allocations: 234.2 kB / 0.5022 GB, free: 26.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.3325, allocations: 210.2 kB / 0.5024 GB, free: 26.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.065e-05/0.3326, allocations: 40.38 kB / 0.5025 GB, free: 26.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.981e-05/0.3326, allocations: 44.19 kB / 0.5025 GB, free: 26.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.803e-05/0.3327, allocations: 108.9 kB / 0.5026 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.3329, allocations: 224.6 kB / 0.5028 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.3332, allocations: 0.5631 MB / 0.5034 GB, free: 26.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3333, allocations: 3.938 kB / 0.5034 GB, free: 26.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3333, allocations: 0 / 0.5034 GB, free: 26.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.3333, allocations: 3.938 kB / 0.5034 GB, free: 26.05 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.0008391/0.3341, allocations: 0.7012 MB / 0.5041 GB, free: 25.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.3341, allocations: 9.25 kB / 0.5041 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.203e-05/0.3342, allocations: 60.77 kB / 0.5041 GB, free: 25.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.3346, allocations: 267.4 kB / 0.5044 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.3346, allocations: 40.41 kB / 0.5044 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.891e-05/0.3347, allocations: 55.7 kB / 0.5045 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005802/0.3352, allocations: 437.5 kB / 0.5049 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.258e-05/0.3353, allocations: 14.64 kB / 0.5049 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/0.3353, allocations: 14.94 kB / 0.5049 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.3353, allocations: 12.22 kB / 0.5049 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004133/0.3357, allocations: 312.2 kB / 0.5052 GB, free: 24.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.337, allocations: 0.933 MB / 0.5061 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005781/0.3376, allocations: 383.1 kB / 0.5065 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.3378, allocations: 194.2 kB / 0.5067 GB, free: 24.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.3378, allocations: 10.59 kB / 0.5067 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.3378, allocations: 38.06 kB / 0.5067 GB, free: 24.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=62): time 2.164e-06/0.3378, allocations: 0 / 0.5067 GB, free: 24.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=74): time 0.002292/0.3401, allocations: 1.852 MB / 0.5085 GB, free: 22.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.3402, allocations: 86.92 kB / 0.5086 GB, free: 22.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.3403, allocations: 238.8 kB / 0.5089 GB, free: 22.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.3403, allocations: 36.92 kB / 0.5089 GB, free: 22.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.749e-05/0.3404, allocations: 220.6 kB / 0.5091 GB, free: 22.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.3406, allocations: 281.2 kB / 0.5094 GB, free: 22.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.3407, allocations: 117.5 kB / 0.5095 GB, free: 22.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.3408, allocations: 367.3 kB / 0.5098 GB, free: 21.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.341, allocations: 158.3 kB / 0.51 GB, free: 21.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.3412, allocations: 277.1 kB / 0.5102 GB, free: 21.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.3417, allocations: 463.8 kB / 0.5107 GB, free: 21.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3417, allocations: 3 kB / 0.5107 GB, free: 21.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0006861/0.3424, allocations: 0.5652 MB / 0.5112 GB, free: 21.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.3424, allocations: 6.812 kB / 0.5112 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3424, allocations: 2.219 kB / 0.5112 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.3424, allocations: 6.469 kB / 0.5113 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/0.3431, allocations: 179.8 kB / 0.5114 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.3431, allocations: 10.44 kB / 0.5114 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.3433, allocations: 28.42 kB / 0.5115 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.3434, allocations: 23 kB / 0.5115 GB, free: 21.05 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.0001548/0.3435, allocations: 184.5 kB / 0.5117 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.21e-05/0.3436, allocations: 46.12 kB / 0.5117 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.966e-05/0.3437, allocations: 57.39 kB / 0.5118 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.3437, allocations: 7 kB / 0.5118 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.3437, allocations: 5.188 kB / 0.5118 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3437, allocations: 3.375 kB / 0.5118 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.3453, allocations: 1.287 MB / 0.513 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.3453, allocations: 2.156 kB / 0.513 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005921/0.3458, allocations: 158.1 kB / 0.5132 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/0.3459, allocations: 9.5 kB / 0.5132 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.3459, allocations: 20.25 kB / 0.5132 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.3459, allocations: 8.922 kB / 0.5132 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.3459, allocations: 6.688 kB / 0.5132 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.347, allocations: 0.9157 MB / 0.5141 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-05/0.347, allocations: 44.78 kB / 0.5142 GB, free: 19.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.3471, allocations: 16.62 kB / 0.5142 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.3474, allocations: 23.78 kB / 0.5142 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.871e-05/0.3474, allocations: 51.38 kB / 0.5143 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.3475, allocations: 24.62 kB / 0.5143 GB, free: 19.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.3476, allocations: 160.7 kB / 0.5144 GB, free: 19.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3476, allocations: 1.375 kB / 0.5144 GB, free: 19.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000614/0.3482, allocations: 143.1 kB / 0.5146 GB, free: 19.19 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.0001449/0.3484, allocations: 123.6 kB / 0.5147 GB, free: 19.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000759/0.3491, allocations: 441.3 kB / 0.5151 GB, free: 18.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3491, allocations: 3.938 kB / 0.5151 GB, free: 18.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.3495, allocations: 220.5 kB / 0.5153 GB, free: 18.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008627/0.3503, allocations: 138.9 kB / 0.5155 GB, free: 18.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.3527, allocations: 1.647 MB / 0.5171 GB, free: 17.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.3529, allocations: 249.8 kB / 0.5173 GB, free: 17.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000196/0.3531, allocations: 57.52 kB / 0.5174 GB, free: 17.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.817e-05/0.3532, allocations: 42.06 kB / 0.5174 GB, free: 17.48 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3532, allocations: 1.281 kB / 0.5174 GB, free: 17.48 MB / 446.1 MB Notification: Performance of Templates: time 0.01204/0.3652, allocations: 5.363 MB / 0.5226 GB, free: 16.73 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.379421015037224]