Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.0008876/0.0008876, allocations: 87.69 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0008378/0.0008378, allocations: 165.3 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.9184/0.9184, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 3.938 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.438e-05/1.598e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002016/0.002032, allocations: 1.629 MB / 326.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007588/0.002791, allocations: 0.5491 MB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.976e-05/0.002881, allocations: 7.938 kB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.901e-05/0.00293, allocations: 11.86 kB / 326.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.003073, allocations: 15.88 kB / 326.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.003376, allocations: 78.67 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.003486, allocations: 63.72 kB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.003594, allocations: 8.234 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.003721, allocations: 47.81 kB / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.257e-05/0.003773, allocations: 19.92 kB / 327 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.00379, allocations: 4 kB / 327 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.045e-05/0.003831, allocations: 11.98 kB / 327 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.003876, allocations: 11.94 kB / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.0039, allocations: 19.92 kB / 327 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.004036, allocations: 71.77 kB / 327.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004038, allocations: 0 / 327.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.00404, allocations: 0 / 327.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.004043, allocations: 0 / 327.1 MB, free: 13.37 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.0004075/0.004451, allocations: 320.9 kB / 327.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.004489, allocations: 8.031 kB / 327.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.00452, allocations: 38.73 kB / 327.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.004636, allocations: 24.83 kB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.004832, allocations: 150.6 kB / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.004841, allocations: 8.312 kB / 327.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.004853, allocations: 8.375 kB / 327.7 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.005097, allocations: 139.2 kB / 327.8 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.005105, allocations: 192 / 327.8 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.005115, allocations: 8.062 kB / 327.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.005121, allocations: 4 kB / 327.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.385e-05/0.005175, allocations: 31.91 kB / 327.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002798/0.005454, allocations: 258.5 kB / 328.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.947e-05/0.005554, allocations: 90.42 kB / 328.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.005604, allocations: 43.42 kB / 328.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.005629, allocations: 7.938 kB / 328.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.005653, allocations: 38.56 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.005654, allocations: 8 kB / 328.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002079/0.005862, allocations: 101.5 kB / 328.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.005921, allocations: 128.5 kB / 328.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.551e-05/0.006017, allocations: 153.2 kB / 328.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.006028, allocations: 25.7 kB / 328.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.00607, allocations: 92.14 kB / 328.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.006083, allocations: 8.438 kB / 328.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.006109, allocations: 21.72 kB / 328.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.821e-05/0.006187, allocations: 314.8 kB / 329.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.212e-05/0.006209, allocations: 11.98 kB / 329.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.552e-05/0.006225, allocations: 7.938 kB / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.644e-05/0.006261, allocations: 16.84 kB / 329.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.006263, allocations: 0 / 329.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.1e-05/0.006324, allocations: 57.58 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.006336, allocations: 8.094 kB / 329.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.00634, allocations: 0 / 329.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.006354, allocations: 3.984 kB / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.577e-05/0.0064, allocations: 4 kB / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.006405, allocations: 0 / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.616e-05/0.006421, allocations: 4 kB / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.006427, allocations: 0 / 329.2 MB, free: 11 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.703e-05/0.006494, allocations: 117.8 kB / 329.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.766e-05/0.006552, allocations: 73.45 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.694e-05/0.006579, allocations: 23.95 kB / 329.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.006582, allocations: 4 kB / 329.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.006586, allocations: 0 / 329.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.00659, allocations: 0 / 329.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.006708, allocations: 152.6 kB / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.00671, allocations: 0 / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.785e-05/0.006748, allocations: 19.98 kB / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006749, allocations: 0 / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.006758, allocations: 4 kB / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.00676, allocations: 4 kB / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.00676, allocations: 0 / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.006876, allocations: 205.8 kB / 329.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.006904, allocations: 19.94 kB / 329.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.006916, allocations: 4 kB / 329.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.572e-05/0.006952, allocations: 3.984 kB / 329.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.006977, allocations: 4 kB / 329.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.006979, allocations: 0 / 329.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.688e-05/0.007036, allocations: 125.8 kB / 330 MB, free: 10.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007036, allocations: 0 / 330 MB, free: 10.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001424/0.007179, allocations: 4 kB / 330 MB, free: 10.16 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.0002989/0.007478, allocations: 0.7305 MB / 330.7 MB, free: 9.398 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.581e-05/0.007574, allocations: 27.97 kB / 330.7 MB, free: 9.371 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.007575, allocations: 0 / 330.7 MB, free: 9.371 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.102e-05/0.007596, allocations: 11.94 kB / 330.7 MB, free: 9.359 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.007894, allocations: 36.02 kB / 330.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009096/0.008804, allocations: 1.387 MB / 332.2 MB, free: 7.836 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.725e-05/0.008861, allocations: 79.31 kB / 332.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.853e-05/0.00889, allocations: 7.781 kB / 332.2 MB, free: 7.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.008932, allocations: 24.48 kB / 332.3 MB, free: 7.707 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008933, allocations: 4.031 kB / 332.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.02669, allocations: 2.746 MB / 335 MB, free: 5.086 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.297/7.323, allocations: 12.05 kB / 335 MB, free: 5.074 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79319e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/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_4.1.0_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: 9.048131822608411]