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.001708/0.001708, allocations: 114.2 kB / 19.69 MB, free: 2.039 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.002108/0.002108, allocations: 220.7 kB / 23.01 MB, free: 4.941 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 / 233.8 MB, free: 9.98 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.2201/0.2201, allocations: 44.24 MB / 330.3 MB, free: 9.613 MB / 270.1 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: 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.002216/0.002216, allocations: 75.91 kB / 467.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1158, allocations: 61.03 MB / 0.5161 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002832/0.1186, allocations: 1.682 MB / 0.5178 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002764/0.1189, allocations: 111.6 kB / 0.5179 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.058e-05/0.1189, allocations: 0 / 0.5179 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.114e-05/0.119, allocations: 15.8 kB / 0.5179 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.1191, allocations: 35.7 kB / 0.5179 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001191/0.1192, allocations: 27.95 kB / 0.518 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.1194, allocations: 127.4 kB / 0.5181 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1195, allocations: 37.5 kB / 0.5181 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.474e-05/0.1196, allocations: 43.86 kB / 0.5182 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.813e-05/0.1197, allocations: 55.77 kB / 0.5182 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.1197, allocations: 12 kB / 0.5182 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.022e-05/0.1197, allocations: 11.94 kB / 0.5182 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.1197, allocations: 19.92 kB / 0.5183 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.869e-05/0.1198, allocations: 51.75 kB / 0.5183 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.12, allocations: 131.4 kB / 0.5184 GB, free: 5.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.12, allocations: 0 / 0.5184 GB, free: 5.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.12, allocations: 0 / 0.5184 GB, free: 5.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.12, allocations: 0 / 0.5184 GB, free: 5.004 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005197/0.1205, allocations: 334.2 kB / 0.5187 GB, free: 4.641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1205, allocations: 12.03 kB / 0.5188 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.386e-05/0.1206, allocations: 42.75 kB / 0.5188 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.1206, allocations: 12.84 kB / 0.5188 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.1208, allocations: 134.4 kB / 0.5189 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.1208, allocations: 8.609 kB / 0.5189 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.1209, allocations: 20.33 kB / 0.519 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.1211, allocations: 133.5 kB / 0.5191 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.1211, allocations: 7.875 kB / 0.5191 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.1211, allocations: 8 kB / 0.5191 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.1211, allocations: 0 / 0.5191 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.1213, allocations: 59.95 kB / 0.5192 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007488/0.122, allocations: 0.4917 MB / 0.5196 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.1222, allocations: 77.22 kB / 0.5197 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/0.1222, allocations: 29.66 kB / 0.5197 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.1222, allocations: 7.938 kB / 0.5198 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.1223, allocations: 38.56 kB / 0.5198 GB, free: 3.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.1223, allocations: 0 / 0.5198 GB, free: 3.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005508/0.1228, allocations: 147.7 kB / 0.5199 GB, free: 3.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.1229, allocations: 81.11 kB / 0.52 GB, free: 3.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.123, allocations: 113.8 kB / 0.5201 GB, free: 3.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.123, allocations: 29.7 kB / 0.5201 GB, free: 3.035 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.006e-05/0.1231, allocations: 123.7 kB / 0.5203 GB, free: 2.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.1231, allocations: 35.72 kB / 0.5203 GB, free: 2.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.1232, allocations: 29.7 kB / 0.5203 GB, free: 2.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1233, allocations: 326.8 kB / 0.5206 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.818e-05/0.1234, allocations: 27.92 kB / 0.5207 GB, free: 2.484 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.1235, allocations: 92.52 kB / 0.5208 GB, free: 2.363 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.1236, allocations: 124.4 kB / 0.5209 GB, free: 2.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1236, allocations: 0 / 0.5209 GB, free: 2.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002895/0.1239, allocations: 171 kB / 0.521 GB, free: 2.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1239, allocations: 12.25 kB / 0.521 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.124, allocations: 7.938 kB / 0.5211 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001794/0.1241, allocations: 33.7 kB / 0.5211 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.1242, allocations: 23.94 kB / 0.5211 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/0.1263, allocations: 2.523 MB / 0.5236 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.673e-05/0.1264, allocations: 15.92 kB / 0.5236 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1264, allocations: 8 kB / 0.5236 GB, free: 15.18 MB / 414.1 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 0.0001185/0.1265, allocations: 125.9 kB / 0.5237 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.965e-05/0.1266, allocations: 11.89 kB / 0.5237 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.1266, allocations: 11.98 kB / 0.5237 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1266, allocations: 3.938 kB / 0.5237 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1266, allocations: 4 kB / 0.5237 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1266, allocations: 0 / 0.5237 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.1269, allocations: 168.7 kB / 0.5239 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1269, allocations: 0 / 0.5239 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.315e-05/0.127, allocations: 23.92 kB / 0.5239 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/0.1271, allocations: 37.64 kB / 0.524 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1271, allocations: 4 kB / 0.524 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.1291, allocations: 2.523 MB / 0.5264 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1291, allocations: 3.938 kB / 0.5264 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.1294, allocations: 312.4 kB / 0.5267 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.1295, allocations: 8.031 kB / 0.5267 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.1295, allocations: 4 kB / 0.5267 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.285e-05/0.1296, allocations: 0 / 0.5267 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.1296, allocations: 11.98 kB / 0.5268 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1296, allocations: 0 / 0.5268 GB, free: 11.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.374e-05/0.1297, allocations: 95.27 kB / 0.5268 GB, free: 11.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1297, allocations: 0 / 0.5268 GB, free: 11.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003663/0.13, allocations: 35.95 kB / 0.5269 GB, free: 11.49 MB / 414.1 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.0006404/0.1307, allocations: 0.8266 MB / 0.5277 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004852/0.1311, allocations: 301.3 kB / 0.528 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1311, allocations: 4 kB / 0.528 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.1314, allocations: 253.4 kB / 0.5282 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.1319, allocations: 40.38 kB / 0.5283 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.1342, allocations: 1.979 MB / 0.5302 GB, free: 7.867 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.1346, allocations: 0.7084 MB / 0.5309 GB, free: 7.133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.338e-05/0.1347, allocations: 12.95 kB / 0.5309 GB, free: 7.113 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.1347, allocations: 31.42 kB / 0.5309 GB, free: 7.082 MB / 414.1 MB Notification: Performance of SimCode: time 5.62e-07/0.1347, allocations: 0 / 0.5309 GB, free: 7.082 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0355/0.1702, allocations: 3.145 MB / 0.534 GB, free: 3.934 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.05, allocations: 8.047 kB / 0.534 GB, free: 3.926 MB / 414.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/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: 15.366678912003408]