Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.001272/0.001272, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001471/0.001471, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9211/0.9211, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 324.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.295e-05, allocations: 4.672 kB / 324.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.002514/0.002537, allocations: 1.864 MB / 326.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006163/0.003153, allocations: 474.8 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.566e-05/0.003229, allocations: 0 / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.569e-05/0.003325, allocations: 15.86 kB / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.93e-05/0.003374, allocations: 23.72 kB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/0.003519, allocations: 31.95 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.003653, allocations: 107.5 kB / 327 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.00378, allocations: 29.56 kB / 327.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.256e-05/0.003862, allocations: 59.89 kB / 327.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.683e-05/0.003919, allocations: 31.89 kB / 327.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.003942, allocations: 8 kB / 327.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.003955, allocations: 8 kB / 327.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.003977, allocations: 23.91 kB / 327.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.004007, allocations: 27.92 kB / 327.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.004152, allocations: 107.6 kB / 327.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.004155, allocations: 0 / 327.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.004157, allocations: 0 / 327.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.004165, allocations: 0 / 327.3 MB, free: 13.15 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004456/0.00461, allocations: 337 kB / 327.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.004649, allocations: 12.03 kB / 327.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.004684, allocations: 46.73 kB / 327.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.00471, allocations: 12.89 kB / 327.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.004882, allocations: 133.6 kB / 327.9 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.004892, allocations: 8.562 kB / 327.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.004917, allocations: 16.33 kB / 327.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.005126, allocations: 115.8 kB / 328 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.005139, allocations: 8 kB / 328 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.00515, allocations: 4 kB / 328 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.005156, allocations: 4 kB / 328 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.005285, allocations: 71.88 kB / 328.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.005794, allocations: 455.2 kB / 328.5 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.005937, allocations: 74.55 kB / 328.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.005999, allocations: 44.83 kB / 328.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.00601, allocations: 0 / 328.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.006034, allocations: 34.55 kB / 328.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.006035, allocations: 0 / 328.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002624/0.006297, allocations: 129.5 kB / 328.8 MB, free: 11.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.006327, allocations: 55.39 kB / 328.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.576e-05/0.006413, allocations: 132.3 kB / 329 MB, free: 11.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.006425, allocations: 29.7 kB / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.006482, allocations: 116.1 kB / 329.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.006502, allocations: 27.78 kB / 329.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.00654, allocations: 29.67 kB / 329.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.8e-05/0.006628, allocations: 322.8 kB / 329.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.139e-05/0.006689, allocations: 31.97 kB / 329.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.66e-05/0.006766, allocations: 64.27 kB / 329.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.006901, allocations: 112.1 kB / 329.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006903, allocations: 0 / 329.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000171/0.007074, allocations: 133.4 kB / 329.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.007087, allocations: 4 kB / 329.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.007092, allocations: 8.125 kB / 329.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.007105, allocations: 3.984 kB / 329.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.007208, allocations: 27.98 kB / 329.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.007215, allocations: 4 kB / 329.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.936e-05/0.007254, allocations: 15.92 kB / 329.9 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.00726, allocations: 4 kB / 329.9 MB, free: 10.35 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 13 * 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 6.711e-05/0.007328, allocations: 117.8 kB / 330 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.007344, allocations: 11.89 kB / 330 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.00737, allocations: 16.44 kB / 330 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007372, allocations: 7.938 kB / 330 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.007377, allocations: 0 / 330 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.00738, allocations: 0 / 330 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.007506, allocations: 164.7 kB / 330.2 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007507, allocations: 3.938 kB / 330.2 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.905e-05/0.007586, allocations: 23.98 kB / 330.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.007588, allocations: 0 / 330.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.007598, allocations: 8 kB / 330.2 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.007599, allocations: 0 / 330.2 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.007601, allocations: 3.938 kB / 330.2 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.007853, allocations: 239.4 kB / 330.5 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.007865, allocations: 3.953 kB / 330.5 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.007881, allocations: 8.031 kB / 330.5 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.455e-05/0.007925, allocations: 0 / 330.5 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.007961, allocations: 11.98 kB / 330.5 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.007965, allocations: 0 / 330.5 MB, free: 9.676 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.757e-05/0.008002, allocations: 95.27 kB / 330.6 MB, free: 9.582 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008002, allocations: 0 / 330.6 MB, free: 9.582 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000164/0.008166, allocations: 31.94 kB / 330.6 MB, free: 9.551 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * 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 (7): * Single equations (assignments): 7 * 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.0004305/0.008597, allocations: 0.7592 MB / 331.4 MB, free: 8.762 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.008772, allocations: 75.89 kB / 331.5 MB, free: 8.688 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.008775, allocations: 4 kB / 331.5 MB, free: 8.684 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.247e-05/0.008837, allocations: 44.14 kB / 331.5 MB, free: 8.641 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.009111, allocations: 15.98 kB / 331.5 MB, free: 8.625 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.01077, allocations: 1.676 MB / 333.2 MB, free: 6.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.32e-05/0.01083, allocations: 96.27 kB / 333.3 MB, free: 6.723 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.847e-05/0.01087, allocations: 8.5 kB / 333.3 MB, free: 6.715 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.279e-05/0.01092, allocations: 28.48 kB / 333.3 MB, free: 6.688 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01092, allocations: 192 / 333.3 MB, free: 6.688 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.0316, allocations: 3.12 MB / 336.4 MB, free: 3.711 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.835/6.867, allocations: 11.48 kB / 336.5 MB, free: 3.703 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_4_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable PI.y in file Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.csv. Warning: Get data of variable PI.y from file Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.736575838178396]