Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009997/0.0009997, allocations: 149.1 kB / 23.93 MB, free: 0.625 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9305/0.9305, allocations: 173.4 MB / 200.5 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 318.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.152e-05, allocations: 2.281 kB / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003026/0.003047, allocations: 1.833 MB / 320.2 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007732/0.00382, allocations: 430.9 kB / 320.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.468e-05/0.003915, allocations: 0 / 320.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.004026, allocations: 23.73 kB / 320.7 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.28e-05/0.004099, allocations: 27.78 kB / 320.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.004267, allocations: 31.95 kB / 320.7 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.004449, allocations: 107.5 kB / 320.8 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.0046, allocations: 29.56 kB / 320.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.00471, allocations: 67.8 kB / 320.9 MB, free: 3.816 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.779e-05/0.004788, allocations: 27.91 kB / 321 MB, free: 3.789 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.00482, allocations: 8 kB / 321 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.695e-05/0.004837, allocations: 8 kB / 321 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.794e-05/0.004865, allocations: 23.91 kB / 321 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.004906, allocations: 23.94 kB / 321 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.005095, allocations: 111.6 kB / 321.1 MB, free: 3.617 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.005098, allocations: 0 / 321.1 MB, free: 3.617 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005099, allocations: 0 / 321.1 MB, free: 3.617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.005104, allocations: 3.938 kB / 321.1 MB, free: 3.613 MB / 282.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.0005244/0.005628, allocations: 329.4 kB / 321.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.005675, allocations: 12.92 kB / 321.5 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/0.005721, allocations: 38.75 kB / 321.5 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.005756, allocations: 12.89 kB / 321.5 MB, free: 3.195 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.005985, allocations: 145.5 kB / 321.7 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.005999, allocations: 4.562 kB / 321.7 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.006031, allocations: 12.38 kB / 321.7 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.0063, allocations: 126.8 kB / 321.8 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.006316, allocations: 3.953 kB / 321.8 MB, free: 2.875 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.00633, allocations: 4 kB / 321.8 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.006337, allocations: 7.938 kB / 321.8 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.006518, allocations: 63.94 kB / 321.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006326/0.007151, allocations: 455.1 kB / 322.3 MB, free: 2.301 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.007342, allocations: 82.48 kB / 322.4 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.512e-05/0.007427, allocations: 36.83 kB / 322.4 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.007439, allocations: 0 / 322.4 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.007467, allocations: 38.56 kB / 322.5 MB, free: 2.125 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.007469, allocations: 0 / 322.5 MB, free: 2.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003477/0.007816, allocations: 125.9 kB / 322.6 MB, free: 1.996 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.007852, allocations: 51.41 kB / 322.7 MB, free: 1.934 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.007953, allocations: 133.1 kB / 322.8 MB, free: 1.797 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.007969, allocations: 29.7 kB / 322.8 MB, free: 1.762 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.008039, allocations: 115.9 kB / 322.9 MB, free: 1.645 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.008062, allocations: 27.69 kB / 323 MB, free: 1.617 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.008113, allocations: 29.7 kB / 323 MB, free: 1.582 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.008211, allocations: 322.8 kB / 323.3 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.979e-05/0.008301, allocations: 31.98 kB / 323.3 MB, free: 1.227 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.529e-05/0.008396, allocations: 71.95 kB / 323.4 MB, free: 1.145 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.008578, allocations: 100.2 kB / 323.5 MB, free: 1.031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.008581, allocations: 0 / 323.5 MB, free: 1.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000251/0.008832, allocations: 149.3 kB / 323.6 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.008852, allocations: 8 kB / 323.7 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.008858, allocations: 0 / 323.7 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.008874, allocations: 0 / 323.7 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.009018, allocations: 35.91 kB / 323.7 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.009027, allocations: 7.984 kB / 323.7 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.437e-05/0.009092, allocations: 7.953 kB / 323.7 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.009102, allocations: 12.12 kB / 323.7 MB, free: 0.8086 MB / 282.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 8.221e-05/0.009184, allocations: 117.8 kB / 323.8 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.009217, allocations: 11.89 kB / 323.8 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.00925, allocations: 12.42 kB / 323.9 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.009252, allocations: 0 / 323.9 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.009256, allocations: 3.938 kB / 323.9 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.009261, allocations: 4 kB / 323.9 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.009451, allocations: 164.6 kB / 324 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.009452, allocations: 0 / 324 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.009565, allocations: 19.98 kB / 324 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.009568, allocations: 4 kB / 324 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.009578, allocations: 3.984 kB / 324.1 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.009581, allocations: 4 kB / 324.1 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.009583, allocations: 0 / 324.1 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.009925, allocations: 243.7 kB / 324.3 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.00994, allocations: 7.891 kB / 324.3 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.009959, allocations: 8 kB / 324.3 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.01004, allocations: 11.97 kB / 324.3 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.01008, allocations: 4 kB / 324.3 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.01008, allocations: 7.984 kB / 324.3 MB, free: 128 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.773e-05/0.01014, allocations: 99.27 kB / 324.4 MB, free: 28 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01014, allocations: 0 / 324.4 MB, free: 28 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002737/0.01041, allocations: 16 kB / 324.4 MB, free: 12 kB / 282.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.0005896/0.011, allocations: 0.7553 MB / 325.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.01123, allocations: 91.84 kB / 325.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01123, allocations: 0 / 325.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.796e-05/0.01131, allocations: 31.98 kB / 325.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.01167, allocations: 22.89 kB / 325.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.01352, allocations: 1.676 MB / 327 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.258e-05/0.01361, allocations: 88.27 kB / 327.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.275e-05/0.01366, allocations: 16.48 kB / 327.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.536e-05/0.01372, allocations: 28.5 kB / 327.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01372, allocations: 0 / 327.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.0327, allocations: 3.101 MB / 330.3 MB, free: 10.19 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.58/6.613, allocations: 10.38 kB / 330.3 MB, free: 10.18 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.csv. Warning: Get data of variable PI.y from file Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.495306422933936]