Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001266/0.001266, allocations: 83.52 kB / 20.02 MB, free: 4.508 MB / 18.57 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.0008805/0.0008805, allocations: 169.9 kB / 23.32 MB, free: 1.207 MB / 18.57 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 0.8686/0.8686, allocations: 158.6 MB / 185.1 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] 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.1352/0.1352, allocations: 32.37 MB / 269.7 MB, free: 14.93 MB / 266.7 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.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_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 407 MB, free: 2.145 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.298e-05, allocations: 5.938 kB / 407.1 MB, free: 2.141 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002586/0.002609, allocations: 2.634 MB / 409.7 MB, free: 15.49 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.003991, allocations: 0.737 MB / 410.4 MB, free: 14.74 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.004164, allocations: 15.88 kB / 410.4 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.004338, allocations: 59.39 kB / 410.5 MB, free: 14.67 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.004508, allocations: 138.8 kB / 410.6 MB, free: 14.53 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.004732, allocations: 95.8 kB / 410.7 MB, free: 14.44 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.005035, allocations: 462.2 kB / 411.2 MB, free: 13.98 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.005255, allocations: 126.8 kB / 411.3 MB, free: 13.86 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.005486, allocations: 255.5 kB / 411.5 MB, free: 13.61 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.005635, allocations: 143.5 kB / 411.7 MB, free: 13.47 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.005675, allocations: 36 kB / 411.7 MB, free: 13.43 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.507e-05/0.00571, allocations: 36 kB / 411.8 MB, free: 13.4 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.005758, allocations: 83.66 kB / 411.8 MB, free: 13.32 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.002e-05/0.005848, allocations: 139.7 kB / 412 MB, free: 13.18 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.006156, allocations: 458.5 kB / 412.4 MB, free: 12.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.006158, allocations: 0 / 412.4 MB, free: 12.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.006159, allocations: 0 / 412.4 MB, free: 12.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.006163, allocations: 0 / 412.4 MB, free: 12.73 MB / 394.7 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.0006334/0.006797, allocations: 0.5949 MB / 413 MB, free: 12.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.006837, allocations: 8.031 kB / 413 MB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.613e-05/0.006893, allocations: 78.72 kB / 413.1 MB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.006939, allocations: 44.66 kB / 413.1 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.007184, allocations: 234 kB / 413.4 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.007209, allocations: 29.38 kB / 413.4 MB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.007258, allocations: 48.31 kB / 413.5 MB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000428/0.007686, allocations: 385.5 kB / 413.8 MB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.007703, allocations: 4.188 kB / 413.8 MB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.007728, allocations: 20.12 kB / 413.9 MB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.007736, allocations: 12 kB / 413.9 MB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.008031, allocations: 247.8 kB / 414.1 MB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009732/0.009004, allocations: 0.9845 MB / 415.1 MB, free: 9.926 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.009355, allocations: 323.6 kB / 415.4 MB, free: 9.582 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.009542, allocations: 162.4 kB / 415.6 MB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.009567, allocations: 4 kB / 415.6 MB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.009592, allocations: 38.56 kB / 415.6 MB, free: 9.363 MB / 394.7 MB Notification: Performance of pre-optimization done (n=39): time 1.773e-06/0.009594, allocations: 0 / 415.6 MB, free: 9.363 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.002438/0.01203, allocations: 2.004 MB / 417.6 MB, free: 7.199 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.01207, allocations: 110.8 kB / 417.7 MB, free: 7.066 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.01223, allocations: 241.8 kB / 418 MB, free: 6.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.01225, allocations: 37.7 kB / 418 MB, free: 6.777 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/0.01234, allocations: 188.9 kB / 418.2 MB, free: 6.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.738e-05/0.01243, allocations: 202.2 kB / 418.4 MB, free: 6.391 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.063e-05/0.01251, allocations: 86.3 kB / 418.5 MB, free: 6.301 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.01261, allocations: 350.7 kB / 418.8 MB, free: 5.949 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.01278, allocations: 137.2 kB / 418.9 MB, free: 5.816 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.01297, allocations: 228.8 kB / 419.2 MB, free: 5.555 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.01334, allocations: 398 kB / 419.5 MB, free: 5.129 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01335, allocations: 0 / 419.5 MB, free: 5.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005714/0.01392, allocations: 0.554 MB / 420.1 MB, free: 4.559 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.01393, allocations: 8 kB / 420.1 MB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.01394, allocations: 7.938 kB / 420.1 MB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/0.01414, allocations: 122.5 kB / 420.2 MB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.01435, allocations: 99.97 kB / 420.3 MB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002641/0.01699, allocations: 4.868 MB / 425.2 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.918e-05/0.01709, allocations: 16.03 kB / 425.2 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.01711, allocations: 27.92 kB / 425.2 MB, free: 15.07 MB / 410.7 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.000121/0.01723, allocations: 165.8 kB / 425.4 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.01728, allocations: 43.75 kB / 425.5 MB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.01733, allocations: 50.17 kB / 425.5 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.01733, allocations: 8 kB / 425.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.01734, allocations: 4 kB / 425.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.01735, allocations: 3.984 kB / 425.5 MB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.01848, allocations: 1.237 MB / 426.8 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.01848, allocations: 0 / 426.8 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.0187, allocations: 100.1 kB / 426.9 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/0.01884, allocations: 98.45 kB / 426.9 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.01885, allocations: 12 kB / 427 MB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.0206, allocations: 4.101 MB / 431.1 MB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002642/0.02086, allocations: 4 kB / 431.1 MB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007429/0.0216, allocations: 0.926 MB / 432 MB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.02163, allocations: 35.75 kB / 432 MB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.02165, allocations: 12.06 kB / 432 MB, free: 7.805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.02178, allocations: 12 kB / 432 MB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.02185, allocations: 51.84 kB / 432.1 MB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.02186, allocations: 12 kB / 432.1 MB, free: 7.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.578e-05/0.02196, allocations: 181.2 kB / 432.3 MB, free: 7.555 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02196, allocations: 0 / 432.3 MB, free: 7.555 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004044/0.02236, allocations: 116 kB / 432.4 MB, free: 7.441 MB / 410.7 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.0009036/0.02327, allocations: 1.478 MB / 433.9 MB, free: 5.922 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006855/0.02395, allocations: 0.7575 MB / 434.6 MB, free: 5.125 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.02395, allocations: 4 kB / 434.6 MB, free: 5.121 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.02433, allocations: 0.5583 MB / 435.2 MB, free: 4.523 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.02472, allocations: 64.09 kB / 435.3 MB, free: 4.465 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.02816, allocations: 4.037 MB / 439.3 MB, free: 240 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.02832, allocations: 224.8 kB / 439.5 MB, free: 16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.874e-05/0.0284, allocations: 35.27 kB / 439.6 MB, free: 15.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.02852, allocations: 128.5 kB / 439.7 MB, free: 15.84 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02852, allocations: 0 / 439.7 MB, free: 15.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.05056, allocations: 9.283 MB / 449 MB, free: 6.516 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.349/7.4, allocations: 8.016 kB / 449 MB, free: 6.508 MB / 426.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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.00039984 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable J2.phi in file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.phi from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J2.w in file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.w from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J5.w in file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J5.w from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.57451257109642]