Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.00228/0.00228, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002744/0.002744, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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 1.717/1.717, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.267e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.00373/0.003763, allocations: 1.867 MB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.005234, allocations: 0.67 MB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.005357, allocations: 7.938 kB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.005516, allocations: 23.73 kB / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.005647, allocations: 27.73 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.006058, allocations: 107.7 kB / 275 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.006301, allocations: 143.5 kB / 275.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.00646, allocations: 53.89 kB / 275.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.006676, allocations: 87.73 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.587e-05/0.006772, allocations: 31.89 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.006803, allocations: 8 kB / 275.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.995e-05/0.006863, allocations: 20 kB / 275.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.549e-05/0.006928, allocations: 27.84 kB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.647e-05/0.006985, allocations: 35.86 kB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.007251, allocations: 155.5 kB / 275.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.007255, allocations: 0 / 275.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.007259, allocations: 3.984 kB / 275.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.007264, allocations: 4 kB / 275.6 MB, free: 14.54 MB / 266.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.0007358/0.008, allocations: 483.6 kB / 276.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.008037, allocations: 8.031 kB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.008225, allocations: 36.83 kB / 276.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.008563, allocations: 193 kB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.008582, allocations: 12.48 kB / 276.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.008607, allocations: 16.38 kB / 276.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006335/0.009241, allocations: 308.6 kB / 276.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.00925, allocations: 0 / 276.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.009266, allocations: 4 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.009277, allocations: 7.984 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.009471, allocations: 67.84 kB / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/0.01007, allocations: 469.6 kB / 277.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.01056, allocations: 243.5 kB / 277.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.01078, allocations: 118.4 kB / 277.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.0108, allocations: 7.984 kB / 277.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.01084, allocations: 41.39 kB / 277.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.01084, allocations: 4 kB / 277.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.000557/0.0114, allocations: 205.3 kB / 277.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/0.01156, allocations: 196.2 kB / 278 MB, free: 11.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.01186, allocations: 258.6 kB / 278.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.01189, allocations: 29.7 kB / 278.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.01202, allocations: 166.8 kB / 278.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.01203, allocations: 0 / 278.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.01209, allocations: 31.69 kB / 278.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003259/0.01241, allocations: 0.5001 MB / 278.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.312e-05/0.01246, allocations: 8 kB / 278.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.892e-05/0.01254, allocations: 56.75 kB / 279 MB, free: 10.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.287e-05/0.01262, allocations: 35.31 kB / 279 MB, free: 10.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01262, allocations: 3.938 kB / 279 MB, free: 10.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001328/0.01275, allocations: 61.64 kB / 279.1 MB, free: 10.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.01277, allocations: 9.719 kB / 279.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.01278, allocations: 3.984 kB / 279.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.01279, allocations: 0 / 279.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.045e-05/0.01285, allocations: 7.984 kB / 279.1 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.01286, allocations: 11.88 kB / 279.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.01291, allocations: 0 / 279.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.01292, allocations: 4 kB / 279.1 MB, free: 10.61 MB / 266.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 0.0001445/0.01307, allocations: 164.6 kB / 279.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/0.01337, allocations: 141.4 kB / 279.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.01342, allocations: 21.5 kB / 279.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.01343, allocations: 7.984 kB / 279.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.01344, allocations: 0 / 279.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.01345, allocations: 11.94 kB / 279.5 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.01374, allocations: 168.5 kB / 279.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.01374, allocations: 4 kB / 279.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.01388, allocations: 35.92 kB / 279.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.01388, allocations: 4 kB / 279.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.0139, allocations: 0 / 279.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.0139, allocations: 7.984 kB / 279.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.0139, allocations: 0 / 279.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/0.01446, allocations: 465.8 kB / 280.1 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.418e-05/0.01453, allocations: 27.84 kB / 280.2 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.01457, allocations: 11.98 kB / 280.2 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.0147, allocations: 4 kB / 280.2 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.01474, allocations: 8.234 kB / 280.2 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.01476, allocations: 11.92 kB / 280.2 MB, free: 9.457 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001616/0.01492, allocations: 180.2 kB / 280.4 MB, free: 9.281 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01492, allocations: 0 / 280.4 MB, free: 9.281 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002766/0.01519, allocations: 16 kB / 280.4 MB, free: 9.266 MB / 266.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.0001519/0.01535, allocations: 107.2 kB / 280.5 MB, free: 9.148 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.01558, allocations: 67.59 kB / 280.6 MB, free: 9.078 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01559, allocations: 0 / 280.6 MB, free: 9.078 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.876e-05/0.01565, allocations: 23.67 kB / 280.6 MB, free: 9.051 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006609/0.01631, allocations: 104.3 kB / 280.7 MB, free: 8.949 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.01737, allocations: 394.1 kB / 281.1 MB, free: 8.516 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.01764, allocations: 114.8 kB / 281.2 MB, free: 8.383 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.463e-05/0.01768, allocations: 5.156 kB / 281.2 MB, free: 8.379 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.01773, allocations: 16.5 kB / 281.2 MB, free: 8.363 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01773, allocations: 0 / 281.2 MB, free: 8.363 MB / 266.7 MB Notification: Performance of Templates: time 0.00568/0.02341, allocations: 1.731 MB / 282.9 MB, free: 6.664 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 4.655977078946307]