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.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.00183/0.00183, allocations: 109 kB / 20.48 MB, free: 1.477 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.002104/0.002104, allocations: 209.7 kB / 23.79 MB, free: 4.688 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.568/1.568, allocations: 207.6 MB / 234.5 MB, free: 9.992 MB / 190.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.2285/0.2285, allocations: 44.25 MB / 331.1 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 179] 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.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: "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 67.91 kB / 468.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1352, allocations: 61.04 MB / 0.5169 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008139/0.1434, allocations: 5.816 MB / 0.5226 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004729/0.1481, allocations: 2.353 MB / 0.5249 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009775/0.1491, allocations: 59.5 kB / 0.5249 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005873/0.1497, allocations: 237.9 kB / 0.5252 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005142/0.1502, allocations: 178.3 kB / 0.5253 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.1514, allocations: 490.6 kB / 0.5258 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001298/0.1527, allocations: 1.103 MB / 0.5269 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007123/0.1534, allocations: 426 kB / 0.5273 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004714/0.1539, allocations: 382.7 kB / 0.5276 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004565/0.1543, allocations: 390.1 kB / 0.528 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.1545, allocations: 99.94 kB / 0.5281 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002708/0.1547, allocations: 155.9 kB / 0.5283 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002209/0.1549, allocations: 211.3 kB / 0.5285 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004383/0.1554, allocations: 469.6 kB / 0.5289 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.1569, allocations: 1.276 MB / 0.5302 GB, free: 9.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.056e-06/0.1569, allocations: 4 kB / 0.5302 GB, free: 9.676 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1569, allocations: 0 / 0.5302 GB, free: 9.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.1569, allocations: 0 / 0.5302 GB, free: 9.676 MB / 414.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.001722/0.1586, allocations: 1.081 MB / 0.5312 GB, free: 8.562 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.1587, allocations: 19.95 kB / 0.5312 GB, free: 8.543 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.538e-05/0.1587, allocations: 22.19 kB / 0.5313 GB, free: 8.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001758/0.1589, allocations: 143.9 kB / 0.5314 GB, free: 8.371 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.1591, allocations: 104.3 kB / 0.5315 GB, free: 8.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.1601, allocations: 0.5144 MB / 0.532 GB, free: 7.727 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.868e-05/0.1601, allocations: 69.94 kB / 0.5321 GB, free: 7.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.1603, allocations: 95.95 kB / 0.5322 GB, free: 7.566 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.1619, allocations: 0.8814 MB / 0.533 GB, free: 6.621 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.262e-05/0.1619, allocations: 11.94 kB / 0.533 GB, free: 6.609 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.06e-05/0.162, allocations: 36 kB / 0.5331 GB, free: 6.574 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.162, allocations: 28 kB / 0.5331 GB, free: 6.547 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.1632, allocations: 0.519 MB / 0.5336 GB, free: 6.031 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/0.1672, allocations: 3.516 MB / 0.537 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005779/0.1678, allocations: 210.7 kB / 0.5372 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.168, allocations: 92.81 kB / 0.5373 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.1681, allocations: 19.98 kB / 0.5373 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.1681, allocations: 30.56 kB / 0.5374 GB, free: 2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.334e-06/0.1681, allocations: 4 kB / 0.5374 GB, free: 1.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.002476/0.1706, allocations: 1.173 MB / 0.5385 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.1706, allocations: 55.41 kB / 0.5386 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004766/0.1711, allocations: 401.8 kB / 0.539 GB, free: 312 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.1712, allocations: 33.7 kB / 0.539 GB, free: 272 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.222/0.3931, allocations: 479.9 kB / 0.5394 GB, free: 28.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.3933, allocations: 146.8 kB / 0.5396 GB, free: 28.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.3935, allocations: 95.45 kB / 0.5397 GB, free: 28.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3937, allocations: 359 kB / 0.54 GB, free: 27.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.394, allocations: 115.4 kB / 0.5401 GB, free: 27.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.3944, allocations: 309.3 kB / 0.5404 GB, free: 27.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006192/0.395, allocations: 455.1 kB / 0.5409 GB, free: 27.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.395, allocations: 5.875 kB / 0.5409 GB, free: 27.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009893/0.396, allocations: 0.51 MB / 0.5414 GB, free: 27.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.396, allocations: 9.781 kB / 0.5414 GB, free: 27.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.396, allocations: 7.031 kB / 0.5414 GB, free: 27.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002859/0.3963, allocations: 39.08 kB / 0.5414 GB, free: 27.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/0.3967, allocations: 130.8 kB / 0.5415 GB, free: 27.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003363/0.3971, allocations: 0.5581 MB / 0.5421 GB, free: 26.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.3973, allocations: 16.11 kB / 0.5421 GB, free: 26.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/0.3974, allocations: 28.44 kB / 0.5421 GB, free: 26.92 MB / 414.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.0003638/0.3977, allocations: 233.8 kB / 0.5423 GB, free: 26.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.108e-05/0.3978, allocations: 47.12 kB / 0.5424 GB, free: 26.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006519/0.3985, allocations: 325.5 kB / 0.5427 GB, free: 26.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.3985, allocations: 3.188 kB / 0.5427 GB, free: 26.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3985, allocations: 1.094 kB / 0.5427 GB, free: 26.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-06/0.3985, allocations: 1.875 kB / 0.5427 GB, free: 26.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.4, allocations: 1.023 MB / 0.5437 GB, free: 26.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.4, allocations: 1.281 kB / 0.5437 GB, free: 26.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003588/0.4004, allocations: 80.86 kB / 0.5438 GB, free: 26.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000166/0.4006, allocations: 40.14 kB / 0.5438 GB, free: 26.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.4006, allocations: 10.03 kB / 0.5438 GB, free: 26.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002613/0.4008, allocations: 0.5436 MB / 0.5444 GB, free: 25.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.4009, allocations: 3.312 kB / 0.5444 GB, free: 25.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008827/0.4017, allocations: 0.5622 MB / 0.5449 GB, free: 25.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.531e-05/0.4018, allocations: 43.08 kB / 0.545 GB, free: 25.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.4019, allocations: 12.64 kB / 0.545 GB, free: 25.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.402, allocations: 10.84 kB / 0.545 GB, free: 25.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.181e-05/0.4021, allocations: 33.89 kB / 0.545 GB, free: 25.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.4022, allocations: 12.02 kB / 0.545 GB, free: 25.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003893/0.4025, allocations: 270.2 kB / 0.5453 GB, free: 25.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4025, allocations: 3.5 kB / 0.5453 GB, free: 25.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006828/0.4032, allocations: 126.9 kB / 0.5454 GB, free: 25.29 MB / 414.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.001014/0.4042, allocations: 1.12 MB / 0.5465 GB, free: 24.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000732/0.405, allocations: 317.8 kB / 0.5468 GB, free: 24.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.405, allocations: 1.688 kB / 0.5468 GB, free: 24.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.4053, allocations: 130.7 kB / 0.5469 GB, free: 24.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.4058, allocations: 81.89 kB / 0.547 GB, free: 24.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006639/0.4125, allocations: 4.845 MB / 0.5517 GB, free: 21.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005372/0.413, allocations: 0.9574 MB / 0.5527 GB, free: 20.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002305/0.4132, allocations: 66.11 kB / 0.5527 GB, free: 20.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/0.4135, allocations: 292.7 kB / 0.553 GB, free: 20.04 MB / 414.1 MB Notification: Performance of SimCode: time 1.944e-06/0.4135, allocations: 0 / 0.553 GB, free: 20.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04143/0.455, allocations: 9.875 MB / 0.5627 GB, free: 18.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.38, allocations: 6.969 kB / 0.5627 GB, free: 18.22 MB / 414.1 MB " [Timeout remaining time 645] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 17.630710852972697]