Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 113.4 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 192.7 kB / 20.07 MB, free: 2.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 207.6 MB / 230.5 MB, free: 4.074 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3476/0.3476, allocations: 44.23 MB / 326.5 MB, free: 6.793 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 76.45 kB / 462.2 MB, free: 0.957 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3309, allocations: 60.99 MB / 0.5109 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005579/0.3365, allocations: 5.801 MB / 0.5166 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003571/0.34, allocations: 2.338 MB / 0.5188 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.3411, allocations: 40.5 kB / 0.5189 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000616/0.3417, allocations: 229.4 kB / 0.5191 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007332/0.3424, allocations: 185.5 kB / 0.5193 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.3437, allocations: 466.2 kB / 0.5197 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.3448, allocations: 1.099 MB / 0.5208 GB, free: 4.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005353/0.3453, allocations: 429.5 kB / 0.5212 GB, free: 4.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003313/0.3456, allocations: 370.6 kB / 0.5215 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.3459, allocations: 394 kB / 0.5219 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.775e-05/0.346, allocations: 96 kB / 0.522 GB, free: 3.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/0.3462, allocations: 155.9 kB / 0.5222 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.3464, allocations: 219.3 kB / 0.5224 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.3466, allocations: 473.5 kB / 0.5228 GB, free: 2.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000921/0.3475, allocations: 1.271 MB / 0.5241 GB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3475, allocations: 0 / 0.5241 GB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3475, allocations: 0 / 0.5241 GB, free: 1.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.07e-05/0.3476, allocations: 0 / 0.5241 GB, free: 1.586 MB / 382.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.001144/0.3487, allocations: 1.16 MB / 0.5252 GB, free: 384 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3487, allocations: 15.89 kB / 0.5252 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/0.3488, allocations: 139.9 kB / 0.5253 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.349, allocations: 108.3 kB / 0.5255 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009858/0.3499, allocations: 0.5945 MB / 0.526 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.033e-05/0.35, allocations: 66 kB / 0.5261 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.3501, allocations: 99.94 kB / 0.5262 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.3517, allocations: 0.8853 MB / 0.5271 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/0.3517, allocations: 3.984 kB / 0.5271 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.186e-05/0.3518, allocations: 44 kB / 0.5271 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/0.3518, allocations: 24 kB / 0.5271 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.3528, allocations: 0.519 MB / 0.5276 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004374/0.3572, allocations: 3.62 MB / 0.5312 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000583/0.3578, allocations: 210.6 kB / 0.5314 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.358, allocations: 92.83 kB / 0.5315 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/0.3583, allocations: 247.3 kB / 0.5317 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.3583, allocations: 46.48 kB / 0.5317 GB, free: 9.332 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.833e-06/0.3583, allocations: 0 / 0.5317 GB, free: 9.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=35): time 0.002492/0.3608, allocations: 1.312 MB / 0.533 GB, free: 7.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.3608, allocations: 63.34 kB / 0.5331 GB, free: 7.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004566/0.3613, allocations: 397.9 kB / 0.5335 GB, free: 7.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.3613, allocations: 33.7 kB / 0.5335 GB, free: 7.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003885/0.3617, allocations: 487.4 kB / 0.534 GB, free: 6.934 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.3619, allocations: 138.8 kB / 0.5341 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.362, allocations: 102.1 kB / 0.5342 GB, free: 6.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.3622, allocations: 362.8 kB / 0.5345 GB, free: 6.328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.3625, allocations: 113.1 kB / 0.5346 GB, free: 6.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/0.3629, allocations: 306.3 kB / 0.5349 GB, free: 5.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006674/0.3635, allocations: 452.7 kB / 0.5354 GB, free: 5.305 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3635, allocations: 4 kB / 0.5354 GB, free: 5.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008499/0.3644, allocations: 0.5206 MB / 0.5359 GB, free: 4.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3644, allocations: 8 kB / 0.5359 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.3644, allocations: 4 kB / 0.5359 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/0.3646, allocations: 36.84 kB / 0.5359 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/0.365, allocations: 131.8 kB / 0.536 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005029/0.3655, allocations: 0.5568 MB / 0.5366 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.3658, allocations: 20 kB / 0.5366 GB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/0.3658, allocations: 24 kB / 0.5366 GB, free: 3.965 MB / 398.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.0003465/0.3661, allocations: 229.6 kB / 0.5369 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.485e-05/0.3662, allocations: 55.61 kB / 0.5369 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006965/0.3669, allocations: 331.2 kB / 0.5372 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3669, allocations: 4 kB / 0.5372 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3669, allocations: 3.938 kB / 0.5372 GB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.367, allocations: 0 / 0.5372 GB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.3686, allocations: 1.054 MB / 0.5383 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3686, allocations: 0 / 0.5383 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.3689, allocations: 79.91 kB / 0.5383 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001501/0.3691, allocations: 36.77 kB / 0.5384 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.3691, allocations: 8 kB / 0.5384 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003875/0.3695, allocations: 0.5525 MB / 0.5389 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3695, allocations: 4.031 kB / 0.5389 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008188/0.3703, allocations: 0.5642 MB / 0.5395 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.3704, allocations: 124.9 kB / 0.5396 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/0.3705, allocations: 8.094 kB / 0.5396 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.3707, allocations: 11.94 kB / 0.5396 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.3707, allocations: 27.91 kB / 0.5396 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.3708, allocations: 15.98 kB / 0.5396 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003053/0.3711, allocations: 271.1 kB / 0.5399 GB, free: 440 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3711, allocations: 4 kB / 0.5399 GB, free: 436 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005736/0.3716, allocations: 124 kB / 0.54 GB, free: 312 kB / 398.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.001262/0.3729, allocations: 1.109 MB / 0.5411 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006711/0.3736, allocations: 316.3 kB / 0.5414 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3736, allocations: 0 / 0.5414 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.3738, allocations: 135.8 kB / 0.5415 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005217/0.3744, allocations: 75 kB / 0.5416 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006833/0.3812, allocations: 4.839 MB / 0.5463 GB, free: 9.512 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007386/0.3819, allocations: 0.9561 MB / 0.5473 GB, free: 8.531 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002117/0.3821, allocations: 60.53 kB / 0.5473 GB, free: 8.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003863/0.3825, allocations: 295.3 kB / 0.5476 GB, free: 8.18 MB / 414.1 MB Notification: Performance of SimCode: time 1.423e-06/0.3825, allocations: 0 / 0.5476 GB, free: 8.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03999/0.4225, allocations: 9.467 MB / 0.5569 GB, free: 14.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.09, allocations: 0.875 kB / 0.5569 GB, free: 14.71 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 16.089898623060435]