Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001337, allocations: 117.6 kB / 18.45 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001512/0.001511, allocations: 191 kB / 21.39 MB, free: 1.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 222.9 MB / 247.1 MB, free: 4.219 MB / 190.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.3651/0.3651, allocations: 44.23 MB / 343.5 MB, free: 7.637 MB / 270.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.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.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 70.92 kB / 478.8 MB, free: 24.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1181, allocations: 60.82 MB / 0.527 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003018/0.1212, allocations: 1.649 MB / 0.5286 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003027/0.1215, allocations: 111.5 kB / 0.5287 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.586e-05/0.1216, allocations: 4 kB / 0.5287 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.274e-05/0.1217, allocations: 19.84 kB / 0.5287 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.1218, allocations: 35.64 kB / 0.5288 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.1219, allocations: 27.97 kB / 0.5288 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.1221, allocations: 127.4 kB / 0.5289 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.1223, allocations: 37.11 kB / 0.5289 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.074e-05/0.1224, allocations: 43.86 kB / 0.529 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.139e-05/0.1225, allocations: 51.77 kB / 0.529 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.1225, allocations: 11.94 kB / 0.529 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.563e-05/0.1226, allocations: 12 kB / 0.5291 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.1226, allocations: 23.92 kB / 0.5291 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.804e-05/0.1227, allocations: 59.73 kB / 0.5291 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.1229, allocations: 123.7 kB / 0.5292 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1229, allocations: 4 kB / 0.5293 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1229, allocations: 0 / 0.5293 GB, free: 11.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1229, allocations: 0 / 0.5293 GB, free: 11.37 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.0005802/0.1235, allocations: 403.2 kB / 0.5296 GB, free: 10.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1236, allocations: 8.031 kB / 0.5296 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.903e-05/0.1236, allocations: 46.73 kB / 0.5297 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.1237, allocations: 16.84 kB / 0.5297 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1239, allocations: 204.2 kB / 0.5299 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.124, allocations: 8.609 kB / 0.5299 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.124, allocations: 12.38 kB / 0.5299 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.1243, allocations: 126.7 kB / 0.53 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.1243, allocations: 11.92 kB / 0.5301 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1243, allocations: 4 kB / 0.5301 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1243, allocations: 4 kB / 0.5301 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.1245, allocations: 63.89 kB / 0.5301 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008734/0.1253, allocations: 0.5373 MB / 0.5306 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.1255, allocations: 85.08 kB / 0.5307 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.074e-05/0.1256, allocations: 33.83 kB / 0.5308 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.1256, allocations: 0 / 0.5308 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.1256, allocations: 38.56 kB / 0.5308 GB, free: 9.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.1256, allocations: 3.938 kB / 0.5308 GB, free: 9.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000665/0.1263, allocations: 297.4 kB / 0.5311 GB, free: 9.238 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.1264, allocations: 85.11 kB / 0.5312 GB, free: 9.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.1265, allocations: 117.8 kB / 0.5313 GB, free: 9.012 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.1266, allocations: 37.64 kB / 0.5313 GB, free: 8.969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.369e-05/0.1266, allocations: 115.9 kB / 0.5314 GB, free: 8.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.1267, allocations: 31.7 kB / 0.5315 GB, free: 8.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.1267, allocations: 33.7 kB / 0.5315 GB, free: 8.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1269, allocations: 326.7 kB / 0.5318 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.239e-05/0.127, allocations: 23.98 kB / 0.5318 GB, free: 8.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.277e-05/0.1271, allocations: 84.52 kB / 0.5319 GB, free: 8.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.1272, allocations: 124.5 kB / 0.532 GB, free: 8.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1272, allocations: 0 / 0.532 GB, free: 8.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002915/0.1275, allocations: 175.5 kB / 0.5322 GB, free: 7.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1276, allocations: 4 kB / 0.5322 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1276, allocations: 7.938 kB / 0.5322 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002009/0.1278, allocations: 37.69 kB / 0.5322 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.803e-05/0.1279, allocations: 24.23 kB / 0.5323 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.1303, allocations: 2.734 MB / 0.5349 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.079e-05/0.1304, allocations: 7.953 kB / 0.5349 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.1304, allocations: 8 kB / 0.5349 GB, free: 4.875 MB / 398.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.0001464/0.1306, allocations: 125.7 kB / 0.5351 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.96e-05/0.1306, allocations: 11.89 kB / 0.5351 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.1307, allocations: 15.89 kB / 0.5351 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1307, allocations: 0 / 0.5351 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1307, allocations: 4.062 kB / 0.5351 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.1307, allocations: 0 / 0.5351 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.131, allocations: 205.6 kB / 0.5353 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.131, allocations: 0 / 0.5353 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-05/0.1311, allocations: 12 kB / 0.5353 GB, free: 4.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001217/0.1312, allocations: 45.58 kB / 0.5353 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1313, allocations: 4 kB / 0.5353 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00232/0.1336, allocations: 2.73 MB / 0.538 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1336, allocations: 0 / 0.538 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.134, allocations: 308.5 kB / 0.5383 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.134, allocations: 89 kB / 0.5384 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.134, allocations: 0 / 0.5384 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.1341, allocations: 0 / 0.5384 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.1342, allocations: 19.91 kB / 0.5384 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.1342, allocations: 8 kB / 0.5384 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.305e-05/0.1343, allocations: 91.27 kB / 0.5385 GB, free: 0.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1343, allocations: 0 / 0.5385 GB, free: 0.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003574/0.1346, allocations: 35.95 kB / 0.5385 GB, free: 0.7969 MB / 398.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.000704/0.1354, allocations: 0.8384 MB / 0.5394 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004967/0.1359, allocations: 305.5 kB / 0.5397 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1359, allocations: 0 / 0.5397 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.1362, allocations: 261.8 kB / 0.5399 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.1367, allocations: 35.92 kB / 0.5399 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.139, allocations: 1.983 MB / 0.5419 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.1394, allocations: 0.7122 MB / 0.5426 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.924e-05/0.1395, allocations: 4.891 kB / 0.5426 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.1395, allocations: 31.42 kB / 0.5426 GB, free: 12.38 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1395, allocations: 4 kB / 0.5426 GB, free: 12.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.1709, allocations: 2.998 MB / 0.5455 GB, free: 9.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.44, allocations: 14.94 kB / 0.5455 GB, free: 9.492 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J1.phi from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! Error: Could not read variable J3.phi in file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J3.phi from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.631905470974743]