Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001687/0.001687, allocations: 112.5 kB / 21.22 MB, free: 0.7422 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.002005/0.002005, allocations: 213.1 kB / 24.53 MB, free: 4.129 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.488/1.488, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.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.2903/0.2903, allocations: 44.91 MB / 359.6 MB, free: 6.301 MB / 286.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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="cs",version="2.0",platforms={"static"}) [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.002147/0.002147, allocations: 67.91 kB / 0.4938 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4224, allocations: 65.47 MB / 0.5578 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004988/0.4274, allocations: 2.878 MB / 0.5606 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.4294, allocations: 0.8178 MB / 0.5614 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.4296, allocations: 11.94 kB / 0.5614 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.4299, allocations: 59.31 kB / 0.5615 GB, free: 4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.4302, allocations: 130.8 kB / 0.5616 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.4306, allocations: 119.8 kB / 0.5617 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005595/0.4312, allocations: 454.3 kB / 0.5621 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003035/0.4315, allocations: 136.6 kB / 0.5623 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.4318, allocations: 187.3 kB / 0.5624 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.4321, allocations: 183.2 kB / 0.5626 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.4321, allocations: 36 kB / 0.5626 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.4322, allocations: 43.98 kB / 0.5627 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.916e-05/0.4323, allocations: 83.69 kB / 0.5628 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.4325, allocations: 206.9 kB / 0.563 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005891/0.4331, allocations: 466 kB / 0.5634 GB, free: 1.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4331, allocations: 0 / 0.5634 GB, free: 1.984 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4331, allocations: 0 / 0.5634 GB, free: 1.984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.4331, allocations: 0 / 0.5634 GB, free: 1.984 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001157/0.4343, allocations: 0.6105 MB / 0.564 GB, free: 1.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.4343, allocations: 12.03 kB / 0.564 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.199e-05/0.4344, allocations: 13.19 kB / 0.564 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.12e-05/0.4345, allocations: 78.7 kB / 0.5641 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/0.4348, allocations: 72.62 kB / 0.5642 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.4353, allocations: 234.7 kB / 0.5644 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/0.4354, allocations: 29.38 kB / 0.5644 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.511e-05/0.4354, allocations: 44.36 kB / 0.5645 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007342/0.4362, allocations: 380.9 kB / 0.5648 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/0.4362, allocations: 19.88 kB / 0.5649 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.4362, allocations: 16 kB / 0.5649 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.4363, allocations: 8 kB / 0.5649 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005091/0.4368, allocations: 244.3 kB / 0.5651 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.4384, allocations: 1.063 MB / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005433/0.4389, allocations: 319.5 kB / 0.5665 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.4392, allocations: 158.5 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.4393, allocations: 8 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.4393, allocations: 42.5 kB / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.453e-06/0.4393, allocations: 0 / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003784/0.4431, allocations: 2.012 MB / 0.5686 GB, free: 12.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.4432, allocations: 106.8 kB / 0.5687 GB, free: 12.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.4434, allocations: 257.8 kB / 0.569 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.4435, allocations: 37.7 kB / 0.569 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.4436, allocations: 180.9 kB / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.4438, allocations: 210.2 kB / 0.5694 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.4439, allocations: 86.34 kB / 0.5695 GB, free: 11.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.4441, allocations: 350.7 kB / 0.5698 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.4443, allocations: 125.2 kB / 0.5699 GB, free: 10.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.4447, allocations: 240.7 kB / 0.5701 GB, free: 10.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006307/0.4453, allocations: 398 kB / 0.5705 GB, free: 10.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4453, allocations: 0 / 0.5705 GB, free: 10.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001066/0.4464, allocations: 0.5539 MB / 0.5711 GB, free: 9.672 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.4464, allocations: 4 kB / 0.5711 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.4464, allocations: 4 kB / 0.5711 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003998/0.4468, allocations: 126.6 kB / 0.5712 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/0.4472, allocations: 96.02 kB / 0.5713 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005047/0.4523, allocations: 4.907 MB / 0.5761 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.4526, allocations: 16 kB / 0.5761 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.4526, allocations: 23.98 kB / 0.5761 GB, free: 4.152 MB / 414.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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002715/0.4529, allocations: 177.7 kB / 0.5763 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.453, allocations: 39.77 kB / 0.5763 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.4531, allocations: 46.11 kB / 0.5764 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.4531, allocations: 11.94 kB / 0.5764 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.312e-05/0.4531, allocations: 4 kB / 0.5764 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.4532, allocations: 3.984 kB / 0.5764 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.4555, allocations: 1.287 MB / 0.5776 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.4555, allocations: 8 kB / 0.5776 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.456, allocations: 95.88 kB / 0.5777 GB, free: 2.406 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002971/0.4563, allocations: 98.45 kB / 0.5778 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.4563, allocations: 16.09 kB / 0.5778 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004318/0.4606, allocations: 4.117 MB / 0.5819 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.4606, allocations: 12.14 kB / 0.5819 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.4622, allocations: 0.9142 MB / 0.5828 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.976e-05/0.4623, allocations: 31.75 kB / 0.5828 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.873e-05/0.4624, allocations: 12.06 kB / 0.5828 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.4626, allocations: 16 kB / 0.5828 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.4628, allocations: 59.78 kB / 0.5829 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.4628, allocations: 16 kB / 0.5829 GB, free: 12.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002167/0.463, allocations: 177.2 kB / 0.5831 GB, free: 12.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.463, allocations: 0 / 0.5831 GB, free: 12.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007938/0.4638, allocations: 120 kB / 0.5832 GB, free: 12.43 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001904/0.4657, allocations: 1.477 MB / 0.5846 GB, free: 10.92 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.4672, allocations: 0.7574 MB / 0.5854 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4672, allocations: 0 / 0.5854 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008433/0.4681, allocations: 0.5646 MB / 0.5859 GB, free: 9.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006885/0.4688, allocations: 64.95 kB / 0.586 GB, free: 9.461 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006215/0.475, allocations: 4.184 MB / 0.5901 GB, free: 5.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000545/0.4755, allocations: 0.8241 MB / 0.5909 GB, free: 4.234 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.4757, allocations: 39.27 kB / 0.5909 GB, free: 4.195 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.4759, allocations: 131.4 kB / 0.591 GB, free: 4.07 MB / 430.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4759, allocations: 0 / 0.591 GB, free: 4.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03939/0.5153, allocations: 8.836 MB / 0.5997 GB, free: 11.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.77, allocations: 4.062 kB / 0.5997 GB, free: 11.39 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.29453479096992]