Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.0009499/0.0009499, 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.0008656/0.0008656, 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.886/0.886, allocations: 177 MB / 204.1 MB, free: 5.746 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.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/1.989e-05, allocations: 2.844 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.00196/0.001979, allocations: 1.607 MB / 326.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006363/0.002616, allocations: 0.5141 MB / 326.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.002685, allocations: 3.938 kB / 326.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.02e-05/0.002725, allocations: 7.922 kB / 326.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.002843, allocations: 15.86 kB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.003093, allocations: 63 kB / 326.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.454e-05/0.003177, allocations: 51.8 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.329e-05/0.003261, allocations: 16.16 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.003363, allocations: 35.84 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.41e-05/0.003407, allocations: 19.86 kB / 326.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.003426, allocations: 4 kB / 326.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.236e-05/0.003458, allocations: 7.984 kB / 326.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.003496, allocations: 11.94 kB / 326.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.942e-05/0.003515, allocations: 15.94 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.003629, allocations: 63.77 kB / 327 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003631, allocations: 0 / 327 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.003632, allocations: 4 kB / 327 MB, free: 13.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.003635, allocations: 0 / 327 MB, free: 13.43 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003177/0.003953, allocations: 302 kB / 327.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.003986, allocations: 11.98 kB / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.514e-05/0.004011, allocations: 38.75 kB / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.865e-05/0.0041, allocations: 16.88 kB / 327.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.004269, allocations: 146.1 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.004276, allocations: 4.312 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.004285, allocations: 8.375 kB / 327.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.004482, allocations: 122 kB / 327.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.004488, allocations: 0 / 327.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.004495, allocations: 0 / 327.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.004499, allocations: 0 / 327.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.693e-05/0.004546, allocations: 23.98 kB / 327.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.004769, allocations: 249.6 kB / 327.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.84e-05/0.004838, allocations: 71.78 kB / 327.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.754e-05/0.004875, allocations: 30.64 kB / 328 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.004892, allocations: 0 / 328 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.004911, allocations: 42.55 kB / 328 MB, free: 12.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.004912, allocations: 0 / 328 MB, free: 12.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001695/0.005081, allocations: 89.78 kB / 328.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.005124, allocations: 106.8 kB / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.492e-05/0.005209, allocations: 152.8 kB / 328.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.005217, allocations: 25.7 kB / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/0.005254, allocations: 88.14 kB / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.879e-06/0.005264, allocations: 0 / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.005288, allocations: 21.67 kB / 328.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.005365, allocations: 318.8 kB / 328.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.005387, allocations: 8 kB / 328.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.67e-05/0.005404, allocations: 11.98 kB / 328.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.005565, allocations: 28.84 kB / 328.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.005566, allocations: 0 / 328.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.553e-05/0.005622, allocations: 45.69 kB / 328.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.005633, allocations: 8 kB / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.005637, allocations: 0 / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.005647, allocations: 0 / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.165e-05/0.005688, allocations: 4 kB / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.005692, allocations: 0 / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.802e-05/0.00571, allocations: 8.016 kB / 328.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.005714, allocations: 3.938 kB / 328.9 MB, free: 11.23 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 5.415e-05/0.005769, allocations: 121.8 kB / 329 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.005812, allocations: 53.58 kB / 329.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.005834, allocations: 11.97 kB / 329.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005836, allocations: 0 / 329.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.005839, allocations: 0 / 329.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.005842, allocations: 4 kB / 329.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.005946, allocations: 144.7 kB / 329.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.005947, allocations: 0 / 329.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.817e-05/0.005975, allocations: 16.05 kB / 329.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.005977, allocations: 0 / 329.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.005983, allocations: 0 / 329.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.005986, allocations: 7.984 kB / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.005987, allocations: 3.938 kB / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.006088, allocations: 181.1 kB / 329.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.006115, allocations: 19.94 kB / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.006125, allocations: 0 / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/0.00616, allocations: 4 kB / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.00618, allocations: 4 kB / 329.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.006184, allocations: 7.984 kB / 329.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.567e-05/0.00623, allocations: 111.2 kB / 329.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00623, allocations: 0 / 329.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001503/0.00638, allocations: 8 kB / 329.6 MB, free: 10.47 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0002466/0.006627, allocations: 0.7101 MB / 330.3 MB, free: 9.727 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.131e-05/0.006708, allocations: 27.92 kB / 330.3 MB, free: 9.699 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.006709, allocations: 4.062 kB / 330.3 MB, free: 9.695 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.815e-05/0.006727, allocations: 8 kB / 330.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.006975, allocations: 34.62 kB / 330.4 MB, free: 9.656 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007744/0.007749, allocations: 1.323 MB / 331.7 MB, free: 8.238 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.273e-05/0.007802, allocations: 87.3 kB / 331.8 MB, free: 8.133 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.323e-05/0.007825, allocations: 0 / 331.8 MB, free: 8.133 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.007863, allocations: 24.48 kB / 331.8 MB, free: 8.109 MB / 298.7 MB Notification: Performance of SimCode: time 3.7e-07/0.007863, allocations: 0 / 331.8 MB, free: 8.109 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01386/0.02172, allocations: 2.413 MB / 334.2 MB, free: 5.801 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.529/6.551, allocations: 11.98 kB / 334.2 MB, free: 5.789 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_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_ShiftSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.293484945781529]