Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.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.001886/0.001886, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.002316/0.002316, allocations: 166.8 kB / 24.5 MB, free: 3.457 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.471/1.471, allocations: 177.2 MB / 204.9 MB, free: 8.898 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.2127/0.2127, allocations: 32.8 MB / 294.1 MB, free: 24 kB / 270.1 MB " [Timeout remaining time 179] 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.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs") [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.002089/0.002089, allocations: 67.89 kB / 440.5 MB, free: 9.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3487, allocations: 65.44 MB / 0.4941 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005473/0.3542, allocations: 5.154 MB / 0.4992 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003441/0.3576, allocations: 2.251 MB / 0.5014 GB, free: 26.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000526/0.3581, allocations: 52.69 kB / 0.5014 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004345/0.3586, allocations: 230.6 kB / 0.5016 GB, free: 26.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003367/0.3589, allocations: 189.8 kB / 0.5018 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008915/0.3598, allocations: 470.5 kB / 0.5023 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008036/0.3606, allocations: 1.111 MB / 0.5033 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005178/0.3611, allocations: 398.2 kB / 0.5037 GB, free: 25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003575/0.3615, allocations: 382.2 kB / 0.5041 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.3618, allocations: 346.5 kB / 0.5044 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.835e-05/0.3619, allocations: 99.19 kB / 0.5045 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.3621, allocations: 154.5 kB / 0.5047 GB, free: 24.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.3623, allocations: 217.3 kB / 0.5049 GB, free: 24.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.3625, allocations: 376.5 kB / 0.5052 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009266/0.3634, allocations: 1.296 MB / 0.5065 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3634, allocations: 0 / 0.5065 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3634, allocations: 0 / 0.5065 GB, free: 23.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.3635, allocations: 0 / 0.5065 GB, free: 23.72 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001241/0.3647, allocations: 1.084 MB / 0.5075 GB, free: 22.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3647, allocations: 9.094 kB / 0.5076 GB, free: 22.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002348/0.365, allocations: 118.5 kB / 0.5077 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007631/0.3657, allocations: 0.5272 MB / 0.5082 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.802e-05/0.3658, allocations: 66.25 kB / 0.5082 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.3659, allocations: 96.36 kB / 0.5083 GB, free: 22.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.367, allocations: 0.8861 MB / 0.5092 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-05/0.3671, allocations: 11.09 kB / 0.5092 GB, free: 22.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-05/0.3671, allocations: 37.03 kB / 0.5093 GB, free: 21.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.3672, allocations: 21.41 kB / 0.5093 GB, free: 21.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008269/0.368, allocations: 0.5204 MB / 0.5098 GB, free: 21.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/0.3704, allocations: 3.206 MB / 0.5129 GB, free: 19.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004771/0.3709, allocations: 222.6 kB / 0.5131 GB, free: 19.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.371, allocations: 89.89 kB / 0.5132 GB, free: 19.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.3711, allocations: 22.83 kB / 0.5132 GB, free: 19.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/0.3711, allocations: 30.56 kB / 0.5133 GB, free: 19.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.3711, allocations: 0 / 0.5133 GB, free: 19.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.002075/0.3732, allocations: 1.16 MB / 0.5144 GB, free: 18.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.3732, allocations: 55.12 kB / 0.5144 GB, free: 18.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.3736, allocations: 418.4 kB / 0.5148 GB, free: 18.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.3736, allocations: 30.83 kB / 0.5149 GB, free: 18.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.3738, allocations: 483 kB / 0.5153 GB, free: 17.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.508e-05/0.3739, allocations: 141.4 kB / 0.5155 GB, free: 17.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.374, allocations: 107.2 kB / 0.5156 GB, free: 17.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.448e-05/0.3741, allocations: 358.1 kB / 0.5159 GB, free: 17.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.3743, allocations: 115 kB / 0.516 GB, free: 17.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.3746, allocations: 311.3 kB / 0.5163 GB, free: 16.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005294/0.3751, allocations: 460.9 kB / 0.5168 GB, free: 16.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3751, allocations: 2.312 kB / 0.5168 GB, free: 16.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007267/0.3758, allocations: 0.5104 MB / 0.5173 GB, free: 16.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3759, allocations: 7.484 kB / 0.5173 GB, free: 16.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3759, allocations: 6.875 kB / 0.5173 GB, free: 16.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000193/0.3761, allocations: 41.92 kB / 0.5173 GB, free: 16.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.3765, allocations: 123.8 kB / 0.5174 GB, free: 16.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002948/0.3768, allocations: 0.5661 MB / 0.518 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.377, allocations: 17.33 kB / 0.518 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/0.377, allocations: 26.66 kB / 0.518 GB, free: 15.65 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002813/0.3773, allocations: 235.6 kB / 0.5182 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/0.3774, allocations: 53.3 kB / 0.5183 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005746/0.3779, allocations: 325.8 kB / 0.5186 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3779, allocations: 8.922 kB / 0.5186 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.378, allocations: 0 / 0.5186 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.378, allocations: 1.781 kB / 0.5186 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.3792, allocations: 0.8847 MB / 0.5195 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3792, allocations: 1.5 kB / 0.5195 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.3796, allocations: 76.09 kB / 0.5196 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001142/0.3797, allocations: 34.42 kB / 0.5196 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.3797, allocations: 18.95 kB / 0.5196 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002201/0.38, allocations: 0.5455 MB / 0.5201 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.38, allocations: 1.344 kB / 0.5201 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007117/0.3807, allocations: 0.5604 MB / 0.5207 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.3807, allocations: 42.19 kB / 0.5207 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.3808, allocations: 13.34 kB / 0.5207 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.3809, allocations: 9.016 kB / 0.5208 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.381, allocations: 36.8 kB / 0.5208 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.381, allocations: 14.69 kB / 0.5208 GB, free: 13.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003145/0.3813, allocations: 274.9 kB / 0.5211 GB, free: 13.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3813, allocations: 0 / 0.5211 GB, free: 13.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008372/0.3822, allocations: 131.5 kB / 0.5212 GB, free: 13.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * 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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001744/0.3823, allocations: 120.9 kB / 0.5213 GB, free: 13.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009738/0.3833, allocations: 309.9 kB / 0.5216 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3833, allocations: 1.469 kB / 0.5216 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003793/0.3837, allocations: 142.4 kB / 0.5217 GB, free: 13.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008206/0.3845, allocations: 87.94 kB / 0.5218 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.3877, allocations: 1.624 MB / 0.5234 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/0.3882, allocations: 368.3 kB / 0.5238 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002443/0.3885, allocations: 55.53 kB / 0.5238 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.3886, allocations: 42.45 kB / 0.5239 GB, free: 12.1 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3886, allocations: 0 / 0.5239 GB, free: 12.1 MB / 446.1 MB Notification: Performance of Templates: time 0.01537/0.404, allocations: 3.937 MB / 0.5277 GB, free: 11.52 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.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.211367601994425]