Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.0008241/0.0008241, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008374/0.0008374, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8955/0.8955, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.772e-05/3.963e-05, allocations: 3.266 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003225/0.003265, allocations: 1.873 MB / 326.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009932/0.004258, allocations: 470.8 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.004394, allocations: 0 / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.004544, allocations: 15.86 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.223e-05/0.004636, allocations: 23.72 kB / 326.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.004857, allocations: 31.91 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.005035, allocations: 107.6 kB / 327 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.005203, allocations: 25.58 kB / 327 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.005311, allocations: 63.88 kB / 327.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.243e-05/0.005384, allocations: 27.91 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.005419, allocations: 8 kB / 327.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.588e-05/0.005435, allocations: 8 kB / 327.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.005465, allocations: 23.91 kB / 327.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.005505, allocations: 27.92 kB / 327.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.005711, allocations: 107.6 kB / 327.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.005715, allocations: 0 / 327.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.005718, allocations: 0 / 327.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.005724, allocations: 3.938 kB / 327.3 MB, free: 13.09 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.0005505/0.006274, allocations: 334.1 kB / 327.6 MB, free: 12.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.006327, allocations: 15.98 kB / 327.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.006369, allocations: 42.73 kB / 327.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.006413, allocations: 12.89 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.006794, allocations: 133.6 kB / 327.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.006809, allocations: 8.562 kB / 327.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.006841, allocations: 16.33 kB / 327.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.0071, allocations: 111.9 kB / 327.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.007114, allocations: 8 kB / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.007128, allocations: 4 kB / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.007136, allocations: 4 kB / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.007277, allocations: 71.88 kB / 328 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006386/0.007915, allocations: 455.2 kB / 328.5 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.008086, allocations: 74.55 kB / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.217e-05/0.008158, allocations: 44.83 kB / 328.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.008172, allocations: 0 / 328.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.008199, allocations: 34.5 kB / 328.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.0082, allocations: 4 kB / 328.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003191/0.00852, allocations: 118 kB / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.008559, allocations: 55.39 kB / 328.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.766e-05/0.008656, allocations: 137.1 kB / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.00867, allocations: 29.7 kB / 329 MB, free: 11.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.008742, allocations: 111.9 kB / 329.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.008768, allocations: 27.78 kB / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.008807, allocations: 29.67 kB / 329.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.922e-05/0.008906, allocations: 322.8 kB / 329.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.67e-05/0.008973, allocations: 31.97 kB / 329.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.817e-05/0.009051, allocations: 68.2 kB / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.009198, allocations: 108.2 kB / 329.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.009202, allocations: 0 / 329.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001879/0.00939, allocations: 141.4 kB / 329.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.009419, allocations: 4 kB / 329.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.009429, allocations: 8.125 kB / 329.8 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.00945, allocations: 0 / 329.8 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.009585, allocations: 35.91 kB / 329.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.009598, allocations: 8.062 kB / 329.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.009646, allocations: 11.98 kB / 329.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.009654, allocations: 4 kB / 329.9 MB, free: 10.29 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 9.458e-05/0.009748, allocations: 117.8 kB / 330 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.009771, allocations: 11.89 kB / 330 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.863e-05/0.00981, allocations: 20.42 kB / 330 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.009814, allocations: 4 kB / 330 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.009822, allocations: 0 / 330 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.009827, allocations: 0 / 330 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.01, allocations: 168.6 kB / 330.2 MB, free: 9.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01, allocations: 0 / 330.2 MB, free: 9.926 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.063e-05/0.0101, allocations: 28.02 kB / 330.2 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.0101, allocations: 3.938 kB / 330.2 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.01011, allocations: 4 kB / 330.2 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01011, allocations: 0 / 330.2 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01012, allocations: 0 / 330.2 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.01041, allocations: 235.4 kB / 330.4 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.01042, allocations: 3.953 kB / 330.4 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.01044, allocations: 8.031 kB / 330.4 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.331e-05/0.01049, allocations: 4 kB / 330.4 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.01054, allocations: 7.984 kB / 330.5 MB, free: 9.621 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.01054, allocations: 0 / 330.5 MB, free: 9.621 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.514e-05/0.01059, allocations: 95.27 kB / 330.5 MB, free: 9.527 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01059, allocations: 0 / 330.5 MB, free: 9.527 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001791/0.01077, allocations: 27.94 kB / 330.6 MB, free: 9.5 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.0007532/0.01152, allocations: 0.767 MB / 331.3 MB, free: 8.703 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.01173, allocations: 75.89 kB / 331.4 MB, free: 8.629 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.01173, allocations: 0 / 331.4 MB, free: 8.629 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.186e-05/0.0118, allocations: 40.16 kB / 331.5 MB, free: 8.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.01208, allocations: 19.98 kB / 331.5 MB, free: 8.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.01366, allocations: 1.682 MB / 333.2 MB, free: 6.777 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.273e-05/0.01374, allocations: 92.27 kB / 333.2 MB, free: 6.664 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.635e-05/0.01378, allocations: 8.484 kB / 333.3 MB, free: 6.656 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.01384, allocations: 28.48 kB / 333.3 MB, free: 6.629 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01384, allocations: 0 / 333.3 MB, free: 6.629 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.02929, allocations: 3.111 MB / 336.4 MB, free: 3.641 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.531/6.56, allocations: 7.078 kB / 336.4 MB, free: 3.637 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous.fmu > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.csv. Warning: Get data of variable PI.y from file Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.365115915425122]