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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 113.2 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002127/0.002127, allocations: 184.2 kB / 18.72 MB, free: 4.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2602/0.2602, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.83 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4195, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004062/0.4236, allocations: 2.837 MB / 0.5212 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.425, allocations: 0.7081 MB / 0.5219 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002202/0.4252, allocations: 11.75 kB / 0.5219 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.4255, allocations: 60.66 kB / 0.522 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.4258, allocations: 126.8 kB / 0.5221 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.4261, allocations: 93.31 kB / 0.5222 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000457/0.4266, allocations: 444.9 kB / 0.5226 GB, free: 368 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003254/0.4269, allocations: 185.2 kB / 0.5228 GB, free: 276 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/0.4272, allocations: 178.8 kB / 0.5229 GB, free: 184 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.4275, allocations: 184.5 kB / 0.5231 GB, free: 92 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.481e-05/0.4275, allocations: 38.48 kB / 0.5231 GB, free: 88 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.278e-05/0.4276, allocations: 39.31 kB / 0.5232 GB, free: 84 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.417e-05/0.4277, allocations: 85.12 kB / 0.5233 GB, free: 24 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.428, allocations: 199.2 kB / 0.5235 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006496/0.4286, allocations: 454.8 kB / 0.5239 GB, free: 15.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.4286, allocations: 1.438 kB / 0.5239 GB, free: 15.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.882e-06/0.4287, allocations: 0 / 0.5239 GB, free: 15.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.4287, allocations: 3.938 kB / 0.5239 GB, free: 15.71 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.001245/0.4299, allocations: 0.6718 MB / 0.5246 GB, free: 15.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.43, allocations: 9.906 kB / 0.5246 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.831e-05/0.4301, allocations: 76.78 kB / 0.5246 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.268e-05/0.4302, allocations: 46.39 kB / 0.5247 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.4307, allocations: 295 kB / 0.525 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.4308, allocations: 28.66 kB / 0.525 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.438e-05/0.4308, allocations: 42.17 kB / 0.525 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007532/0.4316, allocations: 387.8 kB / 0.5254 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.4316, allocations: 2.438 kB / 0.5254 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.4317, allocations: 15.56 kB / 0.5254 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.4317, allocations: 8.969 kB / 0.5254 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005515/0.4323, allocations: 247.5 kB / 0.5257 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.4343, allocations: 1.1 MB / 0.5267 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.435, allocations: 349.9 kB / 0.5271 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.4353, allocations: 182.2 kB / 0.5272 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-05/0.4354, allocations: 3.344 kB / 0.5272 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.4354, allocations: 45.47 kB / 0.5273 GB, free: 13.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 2.314e-06/0.4355, allocations: 0 / 0.5273 GB, free: 13.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.004474/0.4399, allocations: 2.465 MB / 0.5297 GB, free: 11.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/0.44, allocations: 109.2 kB / 0.5298 GB, free: 11.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.4404, allocations: 238 kB / 0.53 GB, free: 11.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.4404, allocations: 36.2 kB / 0.5301 GB, free: 11.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.4406, allocations: 185.1 kB / 0.5302 GB, free: 10.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.4408, allocations: 204.9 kB / 0.5304 GB, free: 10.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.441, allocations: 86.89 kB / 0.5305 GB, free: 10.72 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.4412, allocations: 351.2 kB / 0.5308 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.4415, allocations: 138.2 kB / 0.531 GB, free: 10.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/0.4419, allocations: 227.8 kB / 0.5312 GB, free: 10.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007711/0.4427, allocations: 404.8 kB / 0.5316 GB, free: 9.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.4427, allocations: 0.9062 kB / 0.5316 GB, free: 9.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00128/0.444, allocations: 0.549 MB / 0.5321 GB, free: 9.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.444, allocations: 10.16 kB / 0.5321 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.444, allocations: 2.875 kB / 0.5321 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004211/0.4444, allocations: 134 kB / 0.5323 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.4448, allocations: 88.36 kB / 0.5323 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004898/0.4498, allocations: 5.216 MB / 0.5374 GB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.4502, allocations: 21.31 kB / 0.5375 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.4502, allocations: 18.31 kB / 0.5375 GB, free: 4.324 MB / 398.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.0002595/0.4505, allocations: 173.6 kB / 0.5376 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.4506, allocations: 37.23 kB / 0.5377 GB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.4507, allocations: 48.89 kB / 0.5377 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.4507, allocations: 5.75 kB / 0.5377 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.467e-05/0.4508, allocations: 11.62 kB / 0.5377 GB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4508, allocations: 1.094 kB / 0.5377 GB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/0.453, allocations: 1.32 MB / 0.539 GB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.4531, allocations: 1.125 kB / 0.539 GB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004555/0.4535, allocations: 98.97 kB / 0.5391 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003141/0.4538, allocations: 107 kB / 0.5392 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.4539, allocations: 12.47 kB / 0.5392 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004193/0.4581, allocations: 4.423 MB / 0.5436 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.4581, allocations: 6.031 kB / 0.5436 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.4598, allocations: 0.9194 MB / 0.5445 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.46, allocations: 111.3 kB / 0.5446 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.987e-05/0.46, allocations: 13.28 kB / 0.5446 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.4603, allocations: 18.78 kB / 0.5446 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.4604, allocations: 47.16 kB / 0.5446 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.4605, allocations: 15.19 kB / 0.5447 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.4607, allocations: 174.9 kB / 0.5448 GB, free: 13.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4607, allocations: 0 / 0.5448 GB, free: 13.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007978/0.4615, allocations: 121.9 kB / 0.5449 GB, free: 13.54 MB / 414.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.00191/0.4634, allocations: 1.467 MB / 0.5464 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.465, allocations: 0.7888 MB / 0.5471 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.465, allocations: 0 / 0.5471 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000922/0.4659, allocations: 0.5787 MB / 0.5477 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000759/0.4667, allocations: 69.97 kB / 0.5478 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006744/0.4735, allocations: 4.148 MB / 0.5518 GB, free: 7.973 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/0.4741, allocations: 0.8202 MB / 0.5526 GB, free: 7.125 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001835/0.4743, allocations: 35.27 kB / 0.5527 GB, free: 7.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.4745, allocations: 127.4 kB / 0.5528 GB, free: 6.969 MB / 414.1 MB Notification: Performance of SimCode: time 1.733e-06/0.4745, allocations: 4 kB / 0.5528 GB, free: 6.965 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05629/0.5308, allocations: 8.276 MB / 0.5609 GB, free: 14.83 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.66, allocations: 3.438 kB / 0.5609 GB, free: 14.83 MB / 430.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv","/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) Reference file matches