Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001584/0.001584, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.00165/0.00165, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.544/1.544, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2471/0.2471, allocations: 46.93 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 71.89 kB / 0.4909 GB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1363, allocations: 65.99 MB / 0.5554 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003342/0.1397, allocations: 1.685 MB / 0.557 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003651/0.14, allocations: 107.6 kB / 0.5571 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1401, allocations: 7.938 kB / 0.5571 GB, free: 4.051 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.429e-05/0.1402, allocations: 11.86 kB / 0.5571 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.1403, allocations: 35.72 kB / 0.5572 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.1405, allocations: 27.95 kB / 0.5572 GB, free: 3.977 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.1407, allocations: 131.4 kB / 0.5573 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.1408, allocations: 33.09 kB / 0.5573 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.1409, allocations: 47.8 kB / 0.5574 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.645e-05/0.141, allocations: 47.78 kB / 0.5574 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.1411, allocations: 12 kB / 0.5574 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.494e-05/0.1411, allocations: 8 kB / 0.5575 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.162e-05/0.1411, allocations: 23.92 kB / 0.5575 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.033e-05/0.1412, allocations: 55.73 kB / 0.5575 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.1414, allocations: 123.5 kB / 0.5576 GB, free: 3.504 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1414, allocations: 0 / 0.5576 GB, free: 3.504 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1414, allocations: 0 / 0.5576 GB, free: 3.504 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1414, allocations: 0 / 0.5576 GB, free: 3.504 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.0005778/0.142, allocations: 411.2 kB / 0.558 GB, free: 3.047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.142, allocations: 12.03 kB / 0.558 GB, free: 3.035 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.897e-05/0.1421, allocations: 46.73 kB / 0.5581 GB, free: 2.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.1421, allocations: 8.891 kB / 0.5581 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1423, allocations: 196.2 kB / 0.5583 GB, free: 2.742 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1424, allocations: 12.61 kB / 0.5583 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.1424, allocations: 16.31 kB / 0.5583 GB, free: 2.715 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.1426, allocations: 131.8 kB / 0.5584 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.1427, allocations: 15.81 kB / 0.5585 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.1427, allocations: 8 kB / 0.5585 GB, free: 2.555 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.1427, allocations: 0 / 0.5585 GB, free: 2.555 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.1428, allocations: 55.97 kB / 0.5585 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000863/0.1437, allocations: 0.5451 MB / 0.559 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.1438, allocations: 85.17 kB / 0.5591 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.774e-05/0.1439, allocations: 29.73 kB / 0.5592 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.1439, allocations: 0 / 0.5592 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.1439, allocations: 30.56 kB / 0.5592 GB, free: 1.719 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.1439, allocations: 4 kB / 0.5592 GB, free: 1.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006693/0.1446, allocations: 297.5 kB / 0.5595 GB, free: 1.375 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.1446, allocations: 81.11 kB / 0.5596 GB, free: 1.277 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1448, allocations: 125.8 kB / 0.5597 GB, free: 1.145 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.1448, allocations: 29.64 kB / 0.5597 GB, free: 1.109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.591e-05/0.1449, allocations: 123.8 kB / 0.5598 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.1449, allocations: 31.73 kB / 0.5598 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.145, allocations: 29.72 kB / 0.5599 GB, free: 0.918 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1451, allocations: 322.8 kB / 0.5602 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.597e-05/0.1452, allocations: 23.98 kB / 0.5602 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-05/0.1453, allocations: 90.55 kB / 0.5603 GB, free: 464 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.1454, allocations: 124.8 kB / 0.5604 GB, free: 308 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1454, allocations: 0 / 0.5604 GB, free: 308 kB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003101/0.1457, allocations: 163.1 kB / 0.5606 GB, free: 132 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.1457, allocations: 4.25 kB / 0.5606 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.1458, allocations: 11.94 kB / 0.5606 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/0.1459, allocations: 33.7 kB / 0.5606 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.357e-05/0.146, allocations: 27.92 kB / 0.5606 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/0.1484, allocations: 2.735 MB / 0.5633 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.242e-05/0.1484, allocations: 15.89 kB / 0.5633 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.1485, allocations: 8 kB / 0.5633 GB, free: 13.01 MB / 430.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.0001324/0.1486, allocations: 122 kB / 0.5635 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.1486, allocations: 11.92 kB / 0.5635 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/0.1487, allocations: 11.91 kB / 0.5635 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1487, allocations: 3.938 kB / 0.5635 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1487, allocations: 0 / 0.5635 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-06/0.1487, allocations: 11.92 kB / 0.5635 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.149, allocations: 197.5 kB / 0.5637 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.149, allocations: 0 / 0.5637 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.326e-05/0.1491, allocations: 15.98 kB / 0.5637 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/0.1492, allocations: 53.58 kB / 0.5637 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1492, allocations: 0 / 0.5637 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.1514, allocations: 2.73 MB / 0.5664 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1514, allocations: 0 / 0.5664 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.1517, allocations: 312.3 kB / 0.5667 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.1518, allocations: 85.23 kB / 0.5668 GB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.1518, allocations: 4 kB / 0.5668 GB, free: 9.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.293e-05/0.1519, allocations: 4 kB / 0.5668 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.1519, allocations: 4 kB / 0.5668 GB, free: 9.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.1519, allocations: 7.984 kB / 0.5668 GB, free: 9.059 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.79e-05/0.152, allocations: 87.28 kB / 0.5669 GB, free: 8.973 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.152, allocations: 0 / 0.5669 GB, free: 8.973 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000374/0.1524, allocations: 39.89 kB / 0.5669 GB, free: 8.934 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.0006992/0.1531, allocations: 0.8344 MB / 0.5677 GB, free: 8.066 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005641/0.1536, allocations: 309.7 kB / 0.568 GB, free: 7.738 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1536, allocations: 0 / 0.568 GB, free: 7.738 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.1539, allocations: 257.3 kB / 0.5683 GB, free: 7.461 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/0.1545, allocations: 31.8 kB / 0.5683 GB, free: 7.434 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.1571, allocations: 1.98 MB / 0.5703 GB, free: 5.309 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.1575, allocations: 0.7084 MB / 0.5709 GB, free: 4.574 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.179e-05/0.1575, allocations: 16.8 kB / 0.571 GB, free: 4.555 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/0.1576, allocations: 27.44 kB / 0.571 GB, free: 4.527 MB / 430.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1576, allocations: 0 / 0.571 GB, free: 4.527 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03549/0.1931, allocations: 3.032 MB / 0.5739 GB, free: 1.617 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.49, allocations: 7.938 kB / 0.574 GB, free: 1.609 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 13.618395436089486]