Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001337/0.001337, allocations: 69.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.00147/0.00147, allocations: 162.5 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.499/1.499, allocations: 177.2 MB / 204.9 MB, free: 9.008 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.2273/0.2273, allocations: 34.27 MB / 295.5 MB, free: 14.55 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.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.1.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.1.0_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 71.88 kB / 443.1 MB, free: 6.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3469, allocations: 66.01 MB / 0.4972 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005325/0.3522, allocations: 5.137 MB / 0.5022 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003659/0.3559, allocations: 2.259 MB / 0.5044 GB, free: 24.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006724/0.3565, allocations: 52.62 kB / 0.5045 GB, free: 24.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004877/0.357, allocations: 231.7 kB / 0.5047 GB, free: 24.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004075/0.3574, allocations: 189.3 kB / 0.5049 GB, free: 24.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.3585, allocations: 471.4 kB / 0.5053 GB, free: 24.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009215/0.3594, allocations: 1.11 MB / 0.5064 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005694/0.36, allocations: 397.6 kB / 0.5068 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004373/0.3604, allocations: 388.3 kB / 0.5072 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.3608, allocations: 337.1 kB / 0.5075 GB, free: 23.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.3609, allocations: 96.69 kB / 0.5076 GB, free: 23.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.3611, allocations: 164.9 kB / 0.5077 GB, free: 23.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.3613, allocations: 214.4 kB / 0.508 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002913/0.3616, allocations: 373.3 kB / 0.5083 GB, free: 22.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.3626, allocations: 1.304 MB / 0.5096 GB, free: 22.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3626, allocations: 0 / 0.5096 GB, free: 22.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3626, allocations: 0 / 0.5096 GB, free: 22.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.3627, allocations: 0 / 0.5096 GB, free: 22.13 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.001265/0.3639, allocations: 1.086 MB / 0.5106 GB, free: 21.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.364, allocations: 9 kB / 0.5107 GB, free: 21.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/0.3642, allocations: 120.7 kB / 0.5108 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007702/0.365, allocations: 0.5173 MB / 0.5113 GB, free: 20.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.365, allocations: 66.38 kB / 0.5113 GB, free: 20.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.3651, allocations: 97.17 kB / 0.5114 GB, free: 20.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.3664, allocations: 0.8868 MB / 0.5123 GB, free: 20.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/0.3664, allocations: 3.688 kB / 0.5123 GB, free: 20.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.966e-05/0.3665, allocations: 43.31 kB / 0.5123 GB, free: 20.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.3665, allocations: 21.06 kB / 0.5124 GB, free: 20.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.3675, allocations: 0.5258 MB / 0.5129 GB, free: 20.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/0.3704, allocations: 3.209 MB / 0.516 GB, free: 17.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005459/0.371, allocations: 209.7 kB / 0.5162 GB, free: 17.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.3711, allocations: 96.98 kB / 0.5163 GB, free: 17.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.3713, allocations: 19.69 kB / 0.5163 GB, free: 17.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.3713, allocations: 37.45 kB / 0.5164 GB, free: 17.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.784e-06/0.3713, allocations: 3.938 kB / 0.5164 GB, free: 17.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.002182/0.3735, allocations: 1.148 MB / 0.5175 GB, free: 16.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.3735, allocations: 58.94 kB / 0.5175 GB, free: 16.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004266/0.3739, allocations: 422.3 kB / 0.5179 GB, free: 16.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3739, allocations: 30.83 kB / 0.518 GB, free: 16.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.3742, allocations: 479.9 kB / 0.5184 GB, free: 16.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.352e-05/0.3742, allocations: 140 kB / 0.5186 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.3744, allocations: 105.2 kB / 0.5187 GB, free: 15.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.083e-05/0.3745, allocations: 357.7 kB / 0.519 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.3747, allocations: 119.5 kB / 0.5191 GB, free: 15.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.3749, allocations: 312.4 kB / 0.5194 GB, free: 15.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/0.3754, allocations: 459.8 kB / 0.5198 GB, free: 14.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3754, allocations: 1.562 kB / 0.5198 GB, free: 14.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007205/0.3761, allocations: 0.511 MB / 0.5203 GB, free: 14.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.3762, allocations: 7.406 kB / 0.5204 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.3762, allocations: 6.406 kB / 0.5204 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001996/0.3764, allocations: 36.7 kB / 0.5204 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.3768, allocations: 129.9 kB / 0.5205 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002778/0.377, allocations: 0.5598 MB / 0.5211 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.3772, allocations: 18.88 kB / 0.5211 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.3773, allocations: 29.64 kB / 0.5211 GB, free: 14.06 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.0002726/0.3776, allocations: 231.5 kB / 0.5213 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-05/0.3776, allocations: 54.17 kB / 0.5214 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005805/0.3782, allocations: 331.3 kB / 0.5217 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3782, allocations: 3.594 kB / 0.5217 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3782, allocations: 4.062 kB / 0.5217 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.3782, allocations: 1.922 kB / 0.5217 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.3795, allocations: 0.8869 MB / 0.5226 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3795, allocations: 3.5 kB / 0.5226 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.3799, allocations: 76.16 kB / 0.5227 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001269/0.38, allocations: 34.06 kB / 0.5227 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.38, allocations: 9.641 kB / 0.5227 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002121/0.3802, allocations: 0.5499 MB / 0.5232 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3802, allocations: 6.719 kB / 0.5232 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006874/0.3809, allocations: 0.5686 MB / 0.5238 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.394e-05/0.381, allocations: 41.08 kB / 0.5238 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.381, allocations: 13.25 kB / 0.5238 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.3812, allocations: 9.484 kB / 0.5239 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.167e-05/0.3813, allocations: 19.89 kB / 0.5239 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.3813, allocations: 19.7 kB / 0.5239 GB, free: 12.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002787/0.3816, allocations: 274.5 kB / 0.5242 GB, free: 12.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3816, allocations: 0 / 0.5242 GB, free: 12.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006246/0.3822, allocations: 127.3 kB / 0.5243 GB, free: 12.02 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.0001517/0.3824, allocations: 120.9 kB / 0.5244 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006592/0.383, allocations: 318.8 kB / 0.5247 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.383, allocations: 1.156 kB / 0.5247 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.3833, allocations: 131.5 kB / 0.5248 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.3838, allocations: 72.98 kB / 0.5249 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.3861, allocations: 1.635 MB / 0.5265 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.3865, allocations: 368.5 kB / 0.5268 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.3867, allocations: 60.59 kB / 0.5269 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.637e-05/0.3868, allocations: 43.48 kB / 0.5269 GB, free: 10.51 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3868, allocations: 1.531 kB / 0.5269 GB, free: 10.51 MB / 446.1 MB Notification: Performance of Templates: time 0.0107/0.3975, allocations: 3.941 MB / 0.5308 GB, free: 9.938 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.165538831963204]