Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.001047/0.001047, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.00088/0.00088, 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.8677/0.8677, allocations: 177 MB / 204.1 MB, free: 5.758 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.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083e-05/1.207e-05, allocations: 3.125 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.001787/0.0018, allocations: 1.634 MB / 326.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007202/0.00252, allocations: 0.5491 MB / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.001e-05/0.0026, allocations: 7.938 kB / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.326e-05/0.002643, allocations: 3.938 kB / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.002766, allocations: 11.86 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.003045, allocations: 79.61 kB / 326.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.003146, allocations: 59.73 kB / 326.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.003e-05/0.003236, allocations: 16.2 kB / 326.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.003342, allocations: 35.91 kB / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.608e-05/0.003388, allocations: 23.91 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.003402, allocations: 4 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.28e-05/0.003435, allocations: 8 kB / 327 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.775e-05/0.003472, allocations: 15.92 kB / 327 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.003496, allocations: 19.92 kB / 327 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.003621, allocations: 71.72 kB / 327.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003623, allocations: 4 kB / 327.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.003624, allocations: 0 / 327.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.003627, allocations: 0 / 327.1 MB, free: 13.34 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003491/0.003976, allocations: 317.8 kB / 327.4 MB, free: 13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.004009, allocations: 11.98 kB / 327.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.792e-05/0.004037, allocations: 34.75 kB / 327.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.904e-05/0.004136, allocations: 24.83 kB / 327.4 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.004319, allocations: 154.4 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.00433, allocations: 12.31 kB / 327.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.00434, allocations: 4.375 kB / 327.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000425/0.004765, allocations: 127.3 kB / 327.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.004773, allocations: 192 / 327.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.004782, allocations: 8.125 kB / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.004787, allocations: 4 kB / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.005e-05/0.004837, allocations: 31.91 kB / 327.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.005079, allocations: 250.5 kB / 328 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.584e-05/0.005164, allocations: 98.34 kB / 328.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.005209, allocations: 43.38 kB / 328.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.00523, allocations: 11.98 kB / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.005253, allocations: 38.5 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.005254, allocations: 4 kB / 328.2 MB, free: 11.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001891/0.005444, allocations: 97.56 kB / 328.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.005501, allocations: 140.4 kB / 328.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.053e-05/0.005591, allocations: 150.2 kB / 328.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.005602, allocations: 29.7 kB / 328.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/0.005641, allocations: 92.14 kB / 328.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.235e-05/0.005654, allocations: 3.953 kB / 328.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/0.005678, allocations: 14.22 kB / 328.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.101e-05/0.005749, allocations: 326.8 kB / 329 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.005769, allocations: 4 kB / 329.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.537e-05/0.005784, allocations: 7.984 kB / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.071e-05/0.005825, allocations: 20.84 kB / 329.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.005827, allocations: 0 / 329.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.979e-05/0.005887, allocations: 61.52 kB / 329.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.005898, allocations: 4 kB / 329.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.005902, allocations: 4.094 kB / 329.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.005913, allocations: 0 / 329.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.352e-05/0.005957, allocations: 8 kB / 329.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.005964, allocations: 7.969 kB / 329.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.00598, allocations: 4 kB / 329.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.005985, allocations: 0 / 329.2 MB, free: 10.96 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.295e-05/0.006048, allocations: 113.8 kB / 329.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-05/0.006104, allocations: 65.52 kB / 329.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.006132, allocations: 19.91 kB / 329.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.006135, allocations: 8.094 kB / 329.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.006139, allocations: 0 / 329.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.006142, allocations: 0 / 329.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.006256, allocations: 156.6 kB / 329.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.006258, allocations: 0 / 329.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.006292, allocations: 15.98 kB / 329.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.006295, allocations: 3.938 kB / 329.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.006301, allocations: 0 / 329.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.006304, allocations: 7.938 kB / 329.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006305, allocations: 0 / 329.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.006429, allocations: 198 kB / 329.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.006463, allocations: 23.92 kB / 329.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.006475, allocations: 4 kB / 329.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.583e-05/0.006511, allocations: 4 kB / 329.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.006536, allocations: 7.938 kB / 329.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.00654, allocations: 7.922 kB / 329.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.465e-05/0.006595, allocations: 119.1 kB / 329.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006595, allocations: 0 / 329.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001444/0.006739, allocations: 4 kB / 329.9 MB, free: 10.13 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (6): * Single equations (assignments): 6 * 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.0002788/0.007018, allocations: 0.7227 MB / 330.6 MB, free: 9.371 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.255e-05/0.007111, allocations: 36.05 kB / 330.7 MB, free: 9.336 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.007113, allocations: 0 / 330.7 MB, free: 9.336 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.856e-05/0.007131, allocations: 7.984 kB / 330.7 MB, free: 9.328 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.007399, allocations: 39.97 kB / 330.7 MB, free: 9.289 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008891/0.008288, allocations: 1.387 MB / 332.1 MB, free: 7.801 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.72e-05/0.008346, allocations: 79.33 kB / 332.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.847e-05/0.008374, allocations: 11.77 kB / 332.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.008413, allocations: 20.5 kB / 332.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.008414, allocations: 32 / 332.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.0236, allocations: 2.75 MB / 335 MB, free: 5.031 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.641/6.665, allocations: 4 kB / 335 MB, free: 5.027 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79319e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.39277008920908]