Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002017/0.002017, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002551/0.002551, allocations: 207.2 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2282/0.2282, allocations: 46.95 MB / 360.8 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002414/0.002414, allocations: 80.2 kB / 0.4961 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3117, allocations: 66.09 MB / 0.5607 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003262/0.315, allocations: 1.615 MB / 0.5623 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002854/0.3152, allocations: 95.69 kB / 0.5624 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.413e-05/0.3153, allocations: 3.938 kB / 0.5624 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.628e-05/0.3154, allocations: 19.86 kB / 0.5624 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.3155, allocations: 39.64 kB / 0.5624 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.3156, allocations: 31.95 kB / 0.5624 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.3158, allocations: 123.4 kB / 0.5626 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3159, allocations: 25.23 kB / 0.5626 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.448e-05/0.316, allocations: 51.84 kB / 0.5626 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.978e-05/0.316, allocations: 43.78 kB / 0.5627 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.3161, allocations: 8 kB / 0.5627 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.348e-05/0.3161, allocations: 8 kB / 0.5627 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.017e-05/0.3161, allocations: 23.92 kB / 0.5627 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.503e-05/0.3162, allocations: 55.78 kB / 0.5628 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.3164, allocations: 121.6 kB / 0.5629 GB, free: 1.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3164, allocations: 0 / 0.5629 GB, free: 1.898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3164, allocations: 4 kB / 0.5629 GB, free: 1.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3164, allocations: 0 / 0.5629 GB, free: 1.895 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.0004892/0.3169, allocations: 338 kB / 0.5632 GB, free: 1.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3169, allocations: 8.031 kB / 0.5632 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.886e-05/0.3169, allocations: 46.73 kB / 0.5633 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.317, allocations: 12.89 kB / 0.5633 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.3172, allocations: 130.4 kB / 0.5634 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3172, allocations: 12.61 kB / 0.5634 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.3172, allocations: 12.38 kB / 0.5634 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.3174, allocations: 141.5 kB / 0.5636 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.3175, allocations: 7.891 kB / 0.5636 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3175, allocations: 4 kB / 0.5636 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.3175, allocations: 4 kB / 0.5636 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.3176, allocations: 59.91 kB / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007344/0.3183, allocations: 467.7 kB / 0.5641 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.3185, allocations: 89.17 kB / 0.5642 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.358e-05/0.3185, allocations: 25.66 kB / 0.5642 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.3185, allocations: 4.078 kB / 0.5642 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.3186, allocations: 38.56 kB / 0.5642 GB, free: 372 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.3186, allocations: 3.938 kB / 0.5642 GB, free: 368 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004983/0.3191, allocations: 143.2 kB / 0.5644 GB, free: 212 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.3192, allocations: 81.11 kB / 0.5644 GB, free: 112 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.3193, allocations: 121.9 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.3193, allocations: 37.69 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.3194, allocations: 115.8 kB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.3194, allocations: 31.73 kB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.3195, allocations: 33.72 kB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3196, allocations: 322.8 kB / 0.5651 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.137e-05/0.3197, allocations: 20 kB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.331e-05/0.3198, allocations: 88.56 kB / 0.5652 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.3199, allocations: 124.4 kB / 0.5653 GB, free: 15.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3199, allocations: 0 / 0.5653 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002842/0.3202, allocations: 171.5 kB / 0.5655 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3202, allocations: 6.75 kB / 0.5655 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3202, allocations: 11.94 kB / 0.5655 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/0.3204, allocations: 37.64 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.3205, allocations: 23.98 kB / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.3226, allocations: 2.519 MB / 0.568 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.3227, allocations: 15.89 kB / 0.568 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3227, allocations: 8 kB / 0.568 GB, free: 12.1 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.0001301/0.3228, allocations: 129.7 kB / 0.5681 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.3228, allocations: 11.89 kB / 0.5682 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.3229, allocations: 12 kB / 0.5682 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.3229, allocations: 0 / 0.5682 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3229, allocations: 8.094 kB / 0.5682 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3229, allocations: 0 / 0.5682 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.3232, allocations: 164.6 kB / 0.5683 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3232, allocations: 8 kB / 0.5683 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.067e-05/0.3232, allocations: 8.047 kB / 0.5683 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002084/0.3235, allocations: 45.62 kB / 0.5684 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3235, allocations: 3.938 kB / 0.5684 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002427/0.3259, allocations: 2.516 MB / 0.5709 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3259, allocations: 3.938 kB / 0.5709 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.3262, allocations: 312.3 kB / 0.5712 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.477e-05/0.3263, allocations: 8 kB / 0.5712 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.3263, allocations: 0 / 0.5712 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.585e-05/0.3264, allocations: 4.25 kB / 0.5712 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.3264, allocations: 16.03 kB / 0.5712 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3264, allocations: 0 / 0.5712 GB, free: 8.555 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.673e-05/0.3265, allocations: 95.27 kB / 0.5713 GB, free: 8.461 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3265, allocations: 0 / 0.5713 GB, free: 8.461 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003673/0.3268, allocations: 39.89 kB / 0.5713 GB, free: 8.422 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.0006553/0.3275, allocations: 0.8344 MB / 0.5721 GB, free: 7.555 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004817/0.328, allocations: 309.5 kB / 0.5724 GB, free: 7.227 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.328, allocations: 0 / 0.5724 GB, free: 7.227 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002781/0.3282, allocations: 257.3 kB / 0.5727 GB, free: 6.949 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006071/0.3289, allocations: 23.92 kB / 0.5727 GB, free: 6.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/0.3317, allocations: 1.975 MB / 0.5746 GB, free: 4.801 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.3318, allocations: 93.62 kB / 0.5747 GB, free: 4.691 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.11e-05/0.3319, allocations: 8.969 kB / 0.5747 GB, free: 4.676 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.3319, allocations: 23.44 kB / 0.5747 GB, free: 4.652 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3319, allocations: 0 / 0.5747 GB, free: 4.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0358/0.3677, allocations: 3.648 MB / 0.5783 GB, free: 1.125 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.11, allocations: 4.062 kB / 0.5783 GB, free: 1.121 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv","/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J1.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! Error: Could not read variable J3.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J3.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.139801340177655]