Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001061/0.001061, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0009849/0.0009849, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9321/0.9321, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.429e-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.HoldWithDAeffects2): time 0.002599/0.002623, allocations: 1.85 MB / 326.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.003699, allocations: 0.6544 MB / 327.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.003837, allocations: 11.94 kB / 327.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.003979, allocations: 19.73 kB / 327.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.004113, allocations: 27.78 kB / 327.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.004571, allocations: 123.2 kB / 327.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.004778, allocations: 143.5 kB / 327.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.004931, allocations: 37.97 kB / 327.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.005134, allocations: 87.73 kB / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.594e-05/0.00522, allocations: 39.81 kB / 327.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.005244, allocations: 12 kB / 327.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.432e-05/0.005298, allocations: 16 kB / 327.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.71e-05/0.005365, allocations: 31.86 kB / 327.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.71e-05/0.005413, allocations: 31.91 kB / 327.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.005721, allocations: 155.4 kB / 327.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.005728, allocations: 0 / 327.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005729, allocations: 0 / 327.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.005736, allocations: 0 / 327.8 MB, free: 12.68 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005783/0.006314, allocations: 384.9 kB / 328.2 MB, free: 12.28 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.006372, allocations: 8.031 kB / 328.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.489e-05/0.006417, allocations: 42.73 kB / 328.2 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.006567, allocations: 32.84 kB / 328.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.006875, allocations: 190 kB / 328.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.006893, allocations: 8.562 kB / 328.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.006908, allocations: 12.12 kB / 328.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004644/0.007372, allocations: 318.8 kB / 328.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.00738, allocations: 0 / 328.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.007395, allocations: 4 kB / 328.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.007402, allocations: 4 kB / 328.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.007532, allocations: 75.83 kB / 328.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.00794, allocations: 382.6 kB / 329.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.008265, allocations: 209 kB / 329.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.008385, allocations: 104.2 kB / 329.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.00841, allocations: 0 / 329.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.008437, allocations: 46.56 kB / 329.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/0.008438, allocations: 0 / 329.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003888/0.008827, allocations: 221.3 kB / 329.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.008928, allocations: 195.9 kB / 330 MB, free: 10.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.009075, allocations: 183.6 kB / 330.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.009093, allocations: 29.7 kB / 330.2 MB, free: 10 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.009156, allocations: 104.9 kB / 330.3 MB, free: 9.891 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.009176, allocations: 15.88 kB / 330.3 MB, free: 9.875 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.009217, allocations: 25.67 kB / 330.4 MB, free: 9.844 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.009315, allocations: 322.8 kB / 330.7 MB, free: 9.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-05/0.009357, allocations: 15.98 kB / 330.7 MB, free: 9.504 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.339e-05/0.00941, allocations: 61.14 kB / 330.7 MB, free: 9.426 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.009776, allocations: 42.48 kB / 330.8 MB, free: 9.375 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.009778, allocations: 8.031 kB / 330.8 MB, free: 9.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.933e-05/0.009878, allocations: 69.58 kB / 330.9 MB, free: 9.293 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.009894, allocations: 4 kB / 330.9 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.009901, allocations: 4 kB / 330.9 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.009916, allocations: 0 / 330.9 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.313e-05/0.009979, allocations: 11.98 kB / 330.9 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.009987, allocations: 3.938 kB / 330.9 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.464e-05/0.01002, allocations: 4 kB / 330.9 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.01003, allocations: 4.094 kB / 330.9 MB, free: 9.262 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.401e-05/0.01012, allocations: 137.8 kB / 331 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.01031, allocations: 150 kB / 331.2 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.138e-05/0.01035, allocations: 25.48 kB / 331.2 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.01035, allocations: 4 kB / 331.2 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01036, allocations: 0 / 331.2 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.01036, allocations: 0 / 331.2 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.01056, allocations: 184.6 kB / 331.4 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.01056, allocations: 8 kB / 331.4 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.255e-05/0.01064, allocations: 36.02 kB / 331.4 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.01064, allocations: 7.922 kB / 331.4 MB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.01065, allocations: 4 kB / 331.4 MB, free: 8.664 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01065, allocations: 7.938 kB / 331.4 MB, free: 8.656 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.01066, allocations: 3.984 kB / 331.4 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.01091, allocations: 368 kB / 331.8 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.01097, allocations: 27.89 kB / 331.8 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.01099, allocations: 4 kB / 331.8 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.024e-05/0.01107, allocations: 23.92 kB / 331.9 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.0111, allocations: 0 / 331.9 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.01111, allocations: 4 kB / 331.9 MB, free: 8.211 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.165e-05/0.01119, allocations: 136.4 kB / 332 MB, free: 8.078 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01119, allocations: 0 / 332 MB, free: 8.078 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002013/0.01139, allocations: 23.94 kB / 332 MB, free: 8.055 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0005685/0.01196, allocations: 0.9561 MB / 333 MB, free: 7.062 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.01213, allocations: 71.91 kB / 333 MB, free: 6.992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.01213, allocations: 0 / 333 MB, free: 6.992 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.325e-05/0.01216, allocations: 11.98 kB / 333.1 MB, free: 6.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.01263, allocations: 100.1 kB / 333.2 MB, free: 6.883 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.01402, allocations: 1.761 MB / 334.9 MB, free: 5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.931e-05/0.01412, allocations: 111.4 kB / 335 MB, free: 4.871 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.373e-05/0.01417, allocations: 13.14 kB / 335 MB, free: 4.859 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.997e-05/0.01424, allocations: 40.48 kB / 335.1 MB, free: 4.816 MB / 298.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01424, allocations: 0 / 335.1 MB, free: 4.816 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.03539, allocations: 4.166 MB / 339.2 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/7.138, allocations: 4 kB / 339.2 MB, free: 0.7852 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.864897384308279]