Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.0008021/0.0008021, 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.0009735/0.0009735, 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.8696/0.8696, 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.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.467e-05, allocations: 2.984 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002027/0.002042, allocations: 1.844 MB / 326.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.003093, allocations: 0.6505 MB / 327 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.867e-05/0.003192, allocations: 11.88 kB / 327 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.003311, allocations: 19.8 kB / 327.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.003416, allocations: 23.8 kB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.003744, allocations: 119.6 kB / 327.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.003889, allocations: 151.4 kB / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.004009, allocations: 37.95 kB / 327.4 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.00415, allocations: 91.73 kB / 327.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.065e-05/0.004211, allocations: 31.84 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.004232, allocations: 8 kB / 327.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.823e-05/0.00427, allocations: 16 kB / 327.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.004317, allocations: 31.84 kB / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.004349, allocations: 35.91 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.004523, allocations: 151.4 kB / 327.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.004525, allocations: 4 kB / 327.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004525, allocations: 0 / 327.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.00453, allocations: 0 / 327.7 MB, free: 12.65 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.000416/0.004946, allocations: 381.6 kB / 328.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.00498, allocations: 11.98 kB / 328.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.00501, allocations: 42.73 kB / 328.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.005111, allocations: 28.83 kB / 328.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.005335, allocations: 198 kB / 328.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.005349, allocations: 8.562 kB / 328.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.005362, allocations: 12.12 kB / 328.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.005733, allocations: 305.8 kB / 328.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.00574, allocations: 3.938 kB / 328.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.005751, allocations: 0 / 328.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.005756, allocations: 4 kB / 328.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.005875, allocations: 75.88 kB / 328.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.006195, allocations: 370.6 kB / 329.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.006465, allocations: 217 kB / 329.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.006572, allocations: 100.2 kB / 329.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.006592, allocations: 7.984 kB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.006611, allocations: 38.56 kB / 329.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.042e-06/0.006612, allocations: 0 / 329.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003167/0.006929, allocations: 221.3 kB / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.447e-05/0.007003, allocations: 195.8 kB / 329.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.007131, allocations: 187 kB / 330.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.007145, allocations: 29.7 kB / 330.1 MB, free: 9.973 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.007193, allocations: 108.1 kB / 330.2 MB, free: 9.863 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.007207, allocations: 11.88 kB / 330.2 MB, free: 9.852 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.007235, allocations: 17.72 kB / 330.3 MB, free: 9.828 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.937e-05/0.007304, allocations: 323.2 kB / 330.6 MB, free: 9.504 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.00733, allocations: 11.98 kB / 330.6 MB, free: 9.492 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.507e-05/0.007365, allocations: 52.28 kB / 330.6 MB, free: 9.426 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.47e-05/0.00741, allocations: 33.64 kB / 330.7 MB, free: 9.387 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.007412, allocations: 4 kB / 330.7 MB, free: 9.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.944e-05/0.007482, allocations: 61.62 kB / 330.7 MB, free: 9.316 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.007493, allocations: 6.969 kB / 330.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.007497, allocations: 8.156 kB / 330.8 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.007508, allocations: 3.938 kB / 330.8 MB, free: 9.301 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.65e-05/0.007544, allocations: 4.375 kB / 330.8 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.007549, allocations: 3.938 kB / 330.8 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.775e-05/0.007577, allocations: 7.984 kB / 330.8 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.007581, allocations: 0 / 330.8 MB, free: 9.285 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.263e-05/0.007644, allocations: 125.8 kB / 330.9 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.007791, allocations: 149.4 kB / 331 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.007818, allocations: 21.5 kB / 331.1 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.007822, allocations: 8.172 kB / 331.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.007825, allocations: 0 / 331.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.007829, allocations: 11.92 kB / 331.1 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.007986, allocations: 168.7 kB / 331.2 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.007988, allocations: 0 / 331.2 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.462e-05/0.008052, allocations: 39.91 kB / 331.3 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.008053, allocations: 0 / 331.3 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.008062, allocations: 8 kB / 331.3 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.008065, allocations: 3.938 kB / 331.3 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.008067, allocations: 8 kB / 331.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.008283, allocations: 357.1 kB / 331.7 MB, free: 8.324 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.008328, allocations: 35.83 kB / 331.7 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.008341, allocations: 0 / 331.7 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.008416, allocations: 19.92 kB / 331.7 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.008441, allocations: 3.984 kB / 331.7 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.008445, allocations: 8 kB / 331.7 MB, free: 8.258 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.519e-05/0.008511, allocations: 128.4 kB / 331.8 MB, free: 8.133 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008511, allocations: 4 kB / 331.9 MB, free: 8.129 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.008688, allocations: 16 kB / 331.9 MB, free: 8.113 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0003733/0.009061, allocations: 0.8859 MB / 332.8 MB, free: 7.191 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.009193, allocations: 63.91 kB / 332.8 MB, free: 7.129 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.009195, allocations: 4.125 kB / 332.8 MB, free: 7.125 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.569e-05/0.00922, allocations: 19.92 kB / 332.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.009605, allocations: 107.9 kB / 332.9 MB, free: 7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.0112, allocations: 1.84 MB / 334.8 MB, free: 5.051 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.49e-05/0.01128, allocations: 106.8 kB / 334.9 MB, free: 4.926 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.124e-05/0.01131, allocations: 9.141 kB / 334.9 MB, free: 4.918 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.01136, allocations: 40.48 kB / 334.9 MB, free: 4.875 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01136, allocations: 0 / 334.9 MB, free: 4.875 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.02754, allocations: 4.058 MB / 339 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.557/6.585, allocations: 3.938 kB / 339 MB, free: 0.9258 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98486e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.21236612368375]