Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001973/0.001973, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001637/0.001637, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2252/0.2252, allocations: 46.96 MB / 360.9 MB, free: 4.012 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.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 67.89 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3195, allocations: 66.04 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.005734/0.3252, allocations: 2.644 MB / 0.5632 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.3272, allocations: 0.779 MB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000458/0.3276, allocations: 15.88 kB / 0.5639 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003514/0.328, allocations: 55.38 kB / 0.564 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005147/0.3285, allocations: 130.8 kB / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.3289, allocations: 119.8 kB / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007217/0.3297, allocations: 450.3 kB / 0.5647 GB, free: 28 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000313/0.33, allocations: 128.6 kB / 0.5648 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.3303, allocations: 183.3 kB / 0.565 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.3306, allocations: 163.2 kB / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.687e-05/0.3306, allocations: 36 kB / 0.5652 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3307, allocations: 44 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.941e-05/0.3308, allocations: 87.61 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.331, allocations: 167.2 kB / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005689/0.3316, allocations: 462 kB / 0.5659 GB, free: 14.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3316, allocations: 0 / 0.5659 GB, free: 14.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3316, allocations: 0 / 0.5659 GB, free: 14.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.138e-06/0.3316, allocations: 0 / 0.5659 GB, free: 14.78 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00117/0.3328, allocations: 0.6222 MB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3328, allocations: 8.031 kB / 0.5665 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.113e-05/0.3329, allocations: 74.72 kB / 0.5666 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003295/0.3332, allocations: 84.61 kB / 0.5666 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005283/0.3338, allocations: 229.7 kB / 0.5669 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.3338, allocations: 29.38 kB / 0.5669 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.002e-05/0.3339, allocations: 48.3 kB / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006928/0.3345, allocations: 385.1 kB / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.3346, allocations: 11.95 kB / 0.5673 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.843e-05/0.3346, allocations: 19.98 kB / 0.5673 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.3346, allocations: 8 kB / 0.5673 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005271/0.3351, allocations: 247.8 kB / 0.5676 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.3368, allocations: 0.977 MB / 0.5685 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/0.3374, allocations: 319.5 kB / 0.5688 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.3377, allocations: 158.5 kB / 0.569 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.3377, allocations: 4 kB / 0.569 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/0.3378, allocations: 42.5 kB / 0.569 GB, free: 11.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.833e-06/0.3378, allocations: 0 / 0.569 GB, free: 11.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003856/0.3416, allocations: 2.021 MB / 0.571 GB, free: 9.188 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.24e-05/0.3417, allocations: 106.8 kB / 0.5711 GB, free: 9.059 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.342, allocations: 245.9 kB / 0.5713 GB, free: 8.812 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.342, allocations: 37.7 kB / 0.5714 GB, free: 8.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.3422, allocations: 188.9 kB / 0.5716 GB, free: 8.582 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.3424, allocations: 210.2 kB / 0.5718 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.3425, allocations: 82.34 kB / 0.5718 GB, free: 8.289 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002478/0.3428, allocations: 358.7 kB / 0.5722 GB, free: 7.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/0.343, allocations: 129.2 kB / 0.5723 GB, free: 7.805 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/0.3434, allocations: 232.7 kB / 0.5725 GB, free: 7.539 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007764/0.3442, allocations: 398 kB / 0.5729 GB, free: 7.113 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3442, allocations: 0 / 0.5729 GB, free: 7.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00106/0.3453, allocations: 0.554 MB / 0.5734 GB, free: 6.543 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3453, allocations: 4 kB / 0.5735 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.3453, allocations: 4 kB / 0.5735 GB, free: 6.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003664/0.3457, allocations: 126.7 kB / 0.5736 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.3461, allocations: 95.83 kB / 0.5737 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004993/0.3511, allocations: 4.88 MB / 0.5784 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.3513, allocations: 19.98 kB / 0.5785 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.3514, allocations: 20 kB / 0.5785 GB, free: 1.051 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002466/0.3516, allocations: 169.8 kB / 0.5786 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.3517, allocations: 35.77 kB / 0.5787 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.3518, allocations: 54.09 kB / 0.5787 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3518, allocations: 8 kB / 0.5787 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.3519, allocations: 3.938 kB / 0.5787 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.3519, allocations: 7.984 kB / 0.5787 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/0.3543, allocations: 1.237 MB / 0.5799 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.3543, allocations: 0 / 0.5799 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003999/0.3547, allocations: 95.89 kB / 0.58 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002825/0.355, allocations: 94.45 kB / 0.5801 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.355, allocations: 15.98 kB / 0.5801 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003887/0.3589, allocations: 4.102 MB / 0.5842 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3589, allocations: 8.094 kB / 0.5842 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.3604, allocations: 0.9205 MB / 0.5851 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.3605, allocations: 35.83 kB / 0.5851 GB, free: 9.805 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/0.3605, allocations: 11.98 kB / 0.5851 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.3608, allocations: 16 kB / 0.5851 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.3609, allocations: 59.78 kB / 0.5852 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.3609, allocations: 16 kB / 0.5852 GB, free: 9.703 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.3611, allocations: 173.2 kB / 0.5854 GB, free: 9.531 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3611, allocations: 0 / 0.5854 GB, free: 9.531 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007536/0.3619, allocations: 120 kB / 0.5855 GB, free: 9.414 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001844/0.3637, allocations: 1.475 MB / 0.5869 GB, free: 7.898 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001598/0.3653, allocations: 0.7585 MB / 0.5877 GB, free: 7.102 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3653, allocations: 0 / 0.5877 GB, free: 7.102 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000982/0.3663, allocations: 0.5647 MB / 0.5882 GB, free: 6.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006616/0.367, allocations: 68.75 kB / 0.5883 GB, free: 6.438 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006514/0.3735, allocations: 4.176 MB / 0.5923 GB, free: 2.074 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.3738, allocations: 224.9 kB / 0.5926 GB, free: 1.828 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000145/0.3739, allocations: 35.27 kB / 0.5926 GB, free: 1.793 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.3741, allocations: 127.4 kB / 0.5927 GB, free: 1.672 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3741, allocations: 0 / 0.5927 GB, free: 1.672 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04932/0.4235, allocations: 9.19 MB / 0.6017 GB, free: 8.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.62, allocations: 5.297 kB / 0.6017 GB, free: 8.66 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_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_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable J2.phi in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.phi from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J2.w in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.w from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J5.w in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J5.w from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.745747497770935]