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.001307/0.001307, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001584/0.001584, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001607/0.001607, allocations: 47.92 kB / 377.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2379, allocations: 53.36 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003455/0.2413, allocations: 1.86 MB / 432.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000908/0.2422, allocations: 462.8 kB / 433.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.655e-05/0.2423, allocations: 8 kB / 433.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.2424, allocations: 11.86 kB / 433.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.788e-05/0.2425, allocations: 27.72 kB / 433.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.2426, allocations: 31.97 kB / 433.4 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.2428, allocations: 107.6 kB / 433.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.2429, allocations: 27.27 kB / 433.6 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.502e-05/0.243, allocations: 39.86 kB / 433.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.078e-05/0.2431, allocations: 35.78 kB / 433.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.2431, allocations: 8 kB / 433.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.944e-05/0.2431, allocations: 12 kB / 433.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.104e-05/0.2431, allocations: 27.91 kB / 433.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.2432, allocations: 31.86 kB / 433.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.2434, allocations: 111.4 kB / 433.8 MB, free: 3.848 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2434, allocations: 0 / 433.8 MB, free: 3.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2434, allocations: 0 / 433.8 MB, free: 3.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2434, allocations: 0 / 433.8 MB, free: 3.848 MB / 334.1 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.0005764/0.2439, allocations: 334.1 kB / 434.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.244, allocations: 8.031 kB / 434.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.244, allocations: 38.75 kB / 434.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.2441, allocations: 16.89 kB / 434.2 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.2443, allocations: 138.3 kB / 434.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.2443, allocations: 4.562 kB / 434.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.2443, allocations: 16.08 kB / 434.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.2446, allocations: 115.4 kB / 434.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.2446, allocations: 0 / 434.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.2446, allocations: 4 kB / 434.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2446, allocations: 4 kB / 434.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000227/0.2449, allocations: 75.88 kB / 434.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007158/0.2456, allocations: 458.9 kB / 435 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.2458, allocations: 74.61 kB / 435.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.2459, allocations: 36.83 kB / 435.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.2459, allocations: 0 / 435.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.246, allocations: 38.5 kB / 435.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.246, allocations: 4 kB / 435.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004145/0.2464, allocations: 121.7 kB / 435.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.2464, allocations: 51.41 kB / 435.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.2465, allocations: 133.8 kB / 435.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.2466, allocations: 25.7 kB / 435.5 MB, free: 2.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.673e-05/0.2466, allocations: 115.9 kB / 435.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.2467, allocations: 23.73 kB / 435.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.2467, allocations: 33.66 kB / 435.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2468, allocations: 330.7 kB / 436 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.247, allocations: 35.97 kB / 436 MB, free: 1.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.2471, allocations: 64.2 kB / 436.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.2473, allocations: 104.2 kB / 436.2 MB, free: 1.262 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.2473, allocations: 8 kB / 436.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000301/0.2476, allocations: 129.5 kB / 436.3 MB, free: 1.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2476, allocations: 11.12 kB / 436.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2476, allocations: 0 / 436.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2477, allocations: 0 / 436.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.2478, allocations: 35.92 kB / 436.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2478, allocations: 128 / 436.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.774e-05/0.2479, allocations: 19.98 kB / 436.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.2479, allocations: 4 kB / 436.4 MB, free: 1.055 MB / 334.1 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 9.875e-05/0.248, allocations: 129.7 kB / 436.5 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.248, allocations: 7.953 kB / 436.5 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.2481, allocations: 12.36 kB / 436.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2481, allocations: 0 / 436.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2481, allocations: 4 kB / 436.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2481, allocations: 3.984 kB / 436.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.2483, allocations: 160.6 kB / 436.7 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2483, allocations: 4 kB / 436.7 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.2484, allocations: 27.92 kB / 436.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2484, allocations: 0 / 436.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.2484, allocations: 0 / 436.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2484, allocations: 96 / 436.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.2484, allocations: 11.92 kB / 436.7 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.2488, allocations: 231.4 kB / 437 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.2489, allocations: 7.953 kB / 437 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.2489, allocations: 4 kB / 437 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.532e-05/0.249, allocations: 12.03 kB / 437 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.249, allocations: 0 / 437 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.249, allocations: 4 kB / 437 MB, free: 384 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.387e-05/0.2491, allocations: 101.8 kB / 437.1 MB, free: 284 kB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2491, allocations: 0 / 437.1 MB, free: 284 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.2493, allocations: 19.94 kB / 437.1 MB, free: 264 kB / 334.1 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.0006845/0.25, allocations: 0.7673 MB / 437.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002612/0.2503, allocations: 87.92 kB / 438 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2503, allocations: 0 / 438 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.2504, allocations: 39.91 kB / 438 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.2507, allocations: 18.56 kB / 438 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.2528, allocations: 1.74 MB / 439.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.736e-05/0.2529, allocations: 92.14 kB / 439.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.164e-05/0.2529, allocations: 8.422 kB / 439.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.253, allocations: 31.42 kB / 439.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.253, allocations: 0 / 439.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03236/0.2854, allocations: 2.952 MB / 442.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.45, allocations: 15.27 kB / 442.9 MB, free: 10.52 MB / 350.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/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: 14.055537231266499]