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.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.00166/0.00166, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.002313/0.002313, allocations: 218.9 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.543/1.543, allocations: 230.6 MB / 254.8 MB, free: 15.23 MB / 206.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.2915/0.2915, allocations: 44.9 MB / 355.8 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002113/0.002113, allocations: 63.89 kB / 0.4885 GB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1244, allocations: 65.41 MB / 0.5524 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002904/0.1273, allocations: 1.671 MB / 0.554 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002868/0.1275, allocations: 111.6 kB / 0.5542 GB, free: 8.363 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.37e-05/0.1276, allocations: 7.938 kB / 0.5542 GB, free: 8.355 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.064e-05/0.1277, allocations: 11.86 kB / 0.5542 GB, free: 8.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.1278, allocations: 39.62 kB / 0.5542 GB, free: 8.305 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.1279, allocations: 31.97 kB / 0.5542 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.1281, allocations: 127.4 kB / 0.5544 GB, free: 8.148 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1282, allocations: 21.11 kB / 0.5544 GB, free: 8.129 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.898e-05/0.1283, allocations: 51.8 kB / 0.5544 GB, free: 8.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.765e-05/0.1284, allocations: 59.77 kB / 0.5545 GB, free: 8.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.1284, allocations: 12 kB / 0.5545 GB, free: 8.008 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.112e-05/0.1284, allocations: 8 kB / 0.5545 GB, free: 8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.1284, allocations: 19.92 kB / 0.5545 GB, free: 7.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.702e-05/0.1285, allocations: 59.67 kB / 0.5546 GB, free: 7.922 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.1287, allocations: 131.7 kB / 0.5547 GB, free: 7.793 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1287, allocations: 0 / 0.5547 GB, free: 7.793 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1287, allocations: 0 / 0.5547 GB, free: 7.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1287, allocations: 0 / 0.5547 GB, free: 7.793 MB / 414.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.0005681/0.1293, allocations: 413.3 kB / 0.5551 GB, free: 7.336 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1293, allocations: 12.03 kB / 0.5551 GB, free: 7.324 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.204e-05/0.1293, allocations: 432 / 0.5551 GB, free: 7.324 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.324e-05/0.1294, allocations: 46.73 kB / 0.5552 GB, free: 7.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.1294, allocations: 12.89 kB / 0.5552 GB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.1296, allocations: 192.2 kB / 0.5554 GB, free: 7.031 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.1296, allocations: 8.609 kB / 0.5554 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.1297, allocations: 12.38 kB / 0.5554 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.1299, allocations: 147.6 kB / 0.5555 GB, free: 6.859 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.1299, allocations: 3.953 kB / 0.5555 GB, free: 6.855 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.13, allocations: 4 kB / 0.5555 GB, free: 6.852 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.13, allocations: 4 kB / 0.5555 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.1301, allocations: 63.58 kB / 0.5556 GB, free: 6.789 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007617/0.1308, allocations: 0.5373 MB / 0.5561 GB, free: 6.191 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.131, allocations: 89.09 kB / 0.5562 GB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.1311, allocations: 25.72 kB / 0.5562 GB, free: 6.055 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.1311, allocations: 0 / 0.5562 GB, free: 6.055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.1311, allocations: 38.5 kB / 0.5563 GB, free: 6.008 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.1311, allocations: 4 kB / 0.5563 GB, free: 6.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006056/0.1317, allocations: 297.5 kB / 0.5565 GB, free: 5.664 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.1318, allocations: 81.11 kB / 0.5566 GB, free: 5.566 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.1319, allocations: 125.7 kB / 0.5567 GB, free: 5.434 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1319, allocations: 29.64 kB / 0.5568 GB, free: 5.398 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.132, allocations: 119.9 kB / 0.5569 GB, free: 5.277 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.132, allocations: 35.75 kB / 0.5569 GB, free: 5.242 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.1321, allocations: 29.7 kB / 0.5569 GB, free: 5.207 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1322, allocations: 326.8 kB / 0.5573 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.474e-05/0.1322, allocations: 20 kB / 0.5573 GB, free: 4.859 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.351e-05/0.1323, allocations: 84.56 kB / 0.5574 GB, free: 4.746 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.1325, allocations: 120.5 kB / 0.5575 GB, free: 4.598 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1325, allocations: 0 / 0.5575 GB, free: 4.598 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003108/0.1328, allocations: 171.5 kB / 0.5576 GB, free: 4.418 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1328, allocations: 12.19 kB / 0.5577 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1328, allocations: 4 kB / 0.5577 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/0.133, allocations: 37.7 kB / 0.5577 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.79e-05/0.1331, allocations: 23.92 kB / 0.5577 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.1352, allocations: 2.741 MB / 0.5604 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.593e-05/0.1353, allocations: 7.953 kB / 0.5604 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1353, allocations: 8 kB / 0.5604 GB, free: 1.297 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.000128/0.1354, allocations: 129.9 kB / 0.5605 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.1355, allocations: 7.938 kB / 0.5605 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.1355, allocations: 11.91 kB / 0.5605 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1355, allocations: 4 kB / 0.5606 GB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1355, allocations: 4 kB / 0.5606 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1355, allocations: 3.938 kB / 0.5606 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.1358, allocations: 201.6 kB / 0.5608 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1358, allocations: 0 / 0.5608 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.713e-05/0.1359, allocations: 12.05 kB / 0.5608 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001254/0.136, allocations: 45.62 kB / 0.5608 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1361, allocations: 4 kB / 0.5608 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.1383, allocations: 2.734 MB / 0.5635 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1383, allocations: 0 / 0.5635 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.1386, allocations: 308.3 kB / 0.5638 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.1387, allocations: 89.14 kB / 0.5639 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.1387, allocations: 0 / 0.5639 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.763e-05/0.1388, allocations: 4 kB / 0.5639 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.1388, allocations: 12.03 kB / 0.5639 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.1388, allocations: 0 / 0.5639 GB, free: 13.35 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.747e-05/0.1389, allocations: 95.27 kB / 0.564 GB, free: 13.26 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1389, allocations: 0 / 0.564 GB, free: 13.26 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003921/0.1393, allocations: 39.89 kB / 0.564 GB, free: 13.22 MB / 430.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.000676/0.14, allocations: 0.8345 MB / 0.5648 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005682/0.1405, allocations: 309.7 kB / 0.5651 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1405, allocations: 0 / 0.5651 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.1408, allocations: 257.3 kB / 0.5654 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.1414, allocations: 22.02 kB / 0.5654 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.1436, allocations: 1.988 MB / 0.5673 GB, free: 9.594 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.144, allocations: 0.7123 MB / 0.568 GB, free: 8.855 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.499e-05/0.144, allocations: 8.828 kB / 0.568 GB, free: 8.844 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/0.144, allocations: 27.42 kB / 0.5681 GB, free: 8.816 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.144, allocations: 0 / 0.5681 GB, free: 8.816 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.1697, allocations: 3.067 MB / 0.571 GB, free: 5.891 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.86, allocations: 10.95 kB / 0.5711 GB, free: 5.883 MB / 430.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.234072969004046]