Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.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.001445/0.001445, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001475/0.001475, allocations: 216.9 kB / 23.75 MB, free: 4.668 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.589/1.589, allocations: 230.6 MB / 257.5 MB, free: 8 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.2423/0.2423, allocations: 46.93 MB / 360.9 MB, free: 4.273 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.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 67.91 kB / 0.4961 GB, free: 7.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3581, allocations: 66.03 MB / 0.5606 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.005397/0.3635, allocations: 2.653 MB / 0.5632 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.365, allocations: 0.74 MB / 0.5639 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.3652, allocations: 11.94 kB / 0.564 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.3654, allocations: 47.52 kB / 0.564 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.3656, allocations: 87.2 kB / 0.5641 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.3659, allocations: 103.8 kB / 0.5642 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.3663, allocations: 330.6 kB / 0.5645 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.3665, allocations: 63.88 kB / 0.5646 GB, free: 444 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002626/0.3667, allocations: 147.5 kB / 0.5647 GB, free: 296 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.3669, allocations: 131.3 kB / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.367, allocations: 24 kB / 0.5648 GB, free: 140 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.189e-05/0.367, allocations: 31.98 kB / 0.5649 GB, free: 108 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.969e-05/0.3671, allocations: 55.78 kB / 0.5649 GB, free: 52 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.3672, allocations: 139.3 kB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004092/0.3676, allocations: 314.5 kB / 0.5654 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3677, allocations: 4 kB / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3677, allocations: 0 / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.3677, allocations: 0 / 0.5654 GB, free: 15.6 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009374/0.3686, allocations: 0.5284 MB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3686, allocations: 8.031 kB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.518e-05/0.3687, allocations: 58.72 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.3689, allocations: 48.73 kB / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.3693, allocations: 218 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.3694, allocations: 16.88 kB / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.418e-05/0.3694, allocations: 32.33 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005252/0.37, allocations: 281.2 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.37, allocations: 7.953 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.37, allocations: 12 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.37, allocations: 11.94 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004363/0.3705, allocations: 191.7 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.3723, allocations: 1.227 MB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004488/0.3728, allocations: 242.5 kB / 0.5682 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.373, allocations: 99.38 kB / 0.5683 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.373, allocations: 4 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.373, allocations: 38.5 kB / 0.5683 GB, free: 12.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.084e-06/0.373, allocations: 0 / 0.5683 GB, free: 12.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002675/0.3757, allocations: 1.201 MB / 0.5695 GB, free: 11.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.889e-05/0.3758, allocations: 136.5 kB / 0.5696 GB, free: 10.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.3761, allocations: 233 kB / 0.5698 GB, free: 10.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.3761, allocations: 29.7 kB / 0.5698 GB, free: 10.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.3763, allocations: 184.5 kB / 0.57 GB, free: 10.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.3764, allocations: 119 kB / 0.5701 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.3765, allocations: 70.12 kB / 0.5702 GB, free: 10.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3766, allocations: 334.8 kB / 0.5705 GB, free: 9.898 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.3769, allocations: 100.8 kB / 0.5706 GB, free: 9.801 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.3773, allocations: 241.4 kB / 0.5708 GB, free: 9.508 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006517/0.3779, allocations: 378.5 kB / 0.5712 GB, free: 9.078 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3779, allocations: 0 / 0.5712 GB, free: 9.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008213/0.3787, allocations: 400.8 kB / 0.5716 GB, free: 8.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.3788, allocations: 8 kB / 0.5716 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.3788, allocations: 4 kB / 0.5716 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.3788, allocations: 8 kB / 0.5716 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.3792, allocations: 100.2 kB / 0.5717 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.3792, allocations: 16.25 kB / 0.5717 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.3794, allocations: 27.92 kB / 0.5717 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.3795, allocations: 20 kB / 0.5718 GB, free: 8.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001797/0.3796, allocations: 157.7 kB / 0.5719 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.3798, allocations: 27.81 kB / 0.5719 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.933e-05/0.3798, allocations: 33.7 kB / 0.572 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.3798, allocations: 4 kB / 0.572 GB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3798, allocations: 0 / 0.572 GB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3799, allocations: 4 kB / 0.572 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.3815, allocations: 0.9576 MB / 0.5729 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3815, allocations: 0 / 0.5729 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.3818, allocations: 75.89 kB / 0.573 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.3818, allocations: 0 / 0.573 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.3819, allocations: 15.92 kB / 0.573 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.3819, allocations: 4 kB / 0.573 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3819, allocations: 0 / 0.573 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.383, allocations: 0.7418 MB / 0.5737 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.383, allocations: 23.81 kB / 0.5738 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/0.3831, allocations: 12.28 kB / 0.5738 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.3834, allocations: 19.92 kB / 0.5738 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-05/0.3835, allocations: 28.12 kB / 0.5738 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.3835, allocations: 19.92 kB / 0.5738 GB, free: 6.289 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.3837, allocations: 164.5 kB / 0.574 GB, free: 6.125 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3837, allocations: 0 / 0.574 GB, free: 6.125 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005106/0.3842, allocations: 68 kB / 0.5741 GB, free: 6.059 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001442/0.3856, allocations: 1.27 MB / 0.5753 GB, free: 4.754 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007324/0.3863, allocations: 267.6 kB / 0.5756 GB, free: 4.492 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3863, allocations: 0.8125 kB / 0.5756 GB, free: 4.492 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.3866, allocations: 128.3 kB / 0.5757 GB, free: 4.367 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006755/0.3873, allocations: 48.72 kB / 0.5757 GB, free: 4.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005088/0.3924, allocations: 3.51 MB / 0.5791 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.3929, allocations: 0.7758 MB / 0.5799 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.393, allocations: 34.95 kB / 0.5799 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.3932, allocations: 91.41 kB / 0.58 GB, free: 15.66 MB / 430.1 MB Notification: Performance of SimCode: time 1.573e-06/0.3932, allocations: 4 kB / 0.58 GB, free: 15.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03449/0.4277, allocations: 5.741 MB / 0.5856 GB, free: 10.06 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.09, allocations: 0 / 0.5856 GB, free: 10.06 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219824 ModelicaTest_4_1_0_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable speed4.s in file ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.csv. Warning: Get data of variable speed4.s from file ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.30250805799733]