Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001162/0.001162, allocations: 79.69 kB / 20.02 MB, free: 4.5 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.0008998/0.0008998, allocations: 169.9 kB / 23.32 MB, free: 1.203 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.8139/0.8139, allocations: 158.6 MB / 185.1 MB, free: 3.012 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.1233/0.1233, allocations: 32.37 MB / 269.7 MB, free: 14.92 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.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 407 MB, free: 2.137 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071e-05/1.204e-05, allocations: 2.281 kB / 407 MB, free: 2.133 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001643/0.001655, allocations: 1.607 MB / 408.7 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002155/0.001871, allocations: 103.7 kB / 408.8 MB, free: 428 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.482e-05/0.001926, allocations: 7.875 kB / 408.8 MB, free: 420 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.207e-05/0.001968, allocations: 15.86 kB / 408.8 MB, free: 404 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 9.104e-05/0.002059, allocations: 39.62 kB / 408.8 MB, free: 364 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.002176, allocations: 27.97 kB / 408.8 MB, free: 336 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.00229, allocations: 131.3 kB / 409 MB, free: 204 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.002414, allocations: 25.28 kB / 409 MB, free: 176 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.19e-05/0.002506, allocations: 79.8 kB / 409.1 MB, free: 96 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.126e-05/0.002567, allocations: 35.89 kB / 409.1 MB, free: 60 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.002587, allocations: 8 kB / 409.1 MB, free: 52 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.719e-05/0.002605, allocations: 8 kB / 409.1 MB, free: 44 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.002625, allocations: 19.94 kB / 409.1 MB, free: 24 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.765e-05/0.002673, allocations: 39.98 kB / 409.2 MB, free: 15.98 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.002811, allocations: 127.5 kB / 409.3 MB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.002813, allocations: 4 kB / 409.3 MB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.002813, allocations: 4 kB / 409.3 MB, free: 15.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.002817, allocations: 0 / 409.3 MB, free: 15.85 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003776/0.003195, allocations: 334.1 kB / 409.6 MB, free: 15.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.003232, allocations: 8.031 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.003267, allocations: 42.75 kB / 409.7 MB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.003291, allocations: 16.84 kB / 409.7 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.003417, allocations: 129.7 kB / 409.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.003428, allocations: 12.55 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.003456, allocations: 16.33 kB / 409.9 MB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.003614, allocations: 133.5 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.003627, allocations: 8.172 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.003637, allocations: 8.375 kB / 410 MB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.003643, allocations: 4.125 kB / 410 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.394e-05/0.003717, allocations: 59.95 kB / 410.1 MB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.00417, allocations: 475.6 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.735e-05/0.004267, allocations: 89.16 kB / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.004294, allocations: 21.72 kB / 410.6 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.004304, allocations: 8 kB / 410.6 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.004321, allocations: 34.56 kB / 410.7 MB, free: 14.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.004322, allocations: 0 / 410.7 MB, free: 14.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003172/0.004639, allocations: 147.2 kB / 410.8 MB, free: 14.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.004673, allocations: 88.98 kB / 410.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.345e-05/0.004746, allocations: 121.8 kB / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.004757, allocations: 29.7 kB / 411.1 MB, free: 13.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.004808, allocations: 119.7 kB / 411.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.004827, allocations: 35.73 kB / 411.2 MB, free: 13.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.004858, allocations: 41.66 kB / 411.3 MB, free: 13.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.298e-05/0.004931, allocations: 318.8 kB / 411.6 MB, free: 13.37 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/0.004959, allocations: 19.98 kB / 411.6 MB, free: 13.35 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.895e-05/0.005018, allocations: 88.52 kB / 411.7 MB, free: 13.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.093e-05/0.005109, allocations: 124.5 kB / 411.8 MB, free: 13.08 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005112, allocations: 0 / 411.8 MB, free: 13.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001583/0.00527, allocations: 171.4 kB / 412 MB, free: 12.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.005281, allocations: 4 kB / 412 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.005286, allocations: 4 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001204/0.005406, allocations: 37.98 kB / 412 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.985e-05/0.005466, allocations: 27.98 kB / 412 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.006556, allocations: 2.515 MB / 414.5 MB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.31e-05/0.00659, allocations: 16.23 kB / 414.6 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.006596, allocations: 12 kB / 414.6 MB, free: 10.05 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.138e-05/0.006658, allocations: 121.8 kB / 414.7 MB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.006681, allocations: 7.953 kB / 414.7 MB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.486e-05/0.006696, allocations: 15.98 kB / 414.7 MB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.41e-07/0.006697, allocations: 0 / 414.7 MB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.0067, allocations: 7.938 kB / 414.7 MB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.006703, allocations: 0 / 414.7 MB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.006841, allocations: 160.7 kB / 414.9 MB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.006842, allocations: 8 kB / 414.9 MB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.121e-05/0.006893, allocations: 15.98 kB / 414.9 MB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.135e-05/0.006954, allocations: 33.7 kB / 414.9 MB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.006962, allocations: 4 kB / 414.9 MB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.008112, allocations: 2.523 MB / 417.5 MB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.008113, allocations: 0 / 417.5 MB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.008274, allocations: 316.3 kB / 417.8 MB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.662e-06/0.008281, allocations: 11.94 kB / 417.8 MB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-06/0.008286, allocations: 0 / 417.8 MB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.879e-05/0.008335, allocations: 4 kB / 417.8 MB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.05e-05/0.008356, allocations: 11.98 kB / 417.8 MB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.008358, allocations: 0 / 417.8 MB, free: 6.516 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.501e-05/0.008393, allocations: 95.27 kB / 417.9 MB, free: 6.422 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008393, allocations: 4.125 kB / 417.9 MB, free: 6.418 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002334/0.008627, allocations: 32 kB / 417.9 MB, free: 6.387 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003082/0.008935, allocations: 0.8305 MB / 418.8 MB, free: 5.523 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.009201, allocations: 305.6 kB / 419.1 MB, free: 5.199 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.009202, allocations: 4.125 kB / 419.1 MB, free: 5.195 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.009311, allocations: 257.3 kB / 419.3 MB, free: 4.918 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.009584, allocations: 31.92 kB / 419.3 MB, free: 4.887 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.01073, allocations: 1.878 MB / 421.2 MB, free: 2.855 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.689e-05/0.01079, allocations: 97.8 kB / 421.3 MB, free: 2.738 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.312e-05/0.01081, allocations: 4.984 kB / 421.3 MB, free: 2.727 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.01084, allocations: 32.48 kB / 421.4 MB, free: 2.695 MB / 394.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01085, allocations: 0 / 421.4 MB, free: 2.695 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.02886, allocations: 3.773 MB / 425.1 MB, free: 14.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.213/7.242, allocations: 0 / 425.1 MB, free: 14.9 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_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_Directions3.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable J1.phi in file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J1.phi from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! Error: Could not read variable J3.phi in file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J3.phi from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.214883351698518]