Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002127/0.002127, allocations: 149.4 kB / 24.26 MB, free: 180 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.267e-05, allocations: 6.312 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004367/0.0044, allocations: 1.833 MB / 269.2 MB, free: 4.887 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.006035, allocations: 0.6036 MB / 269.8 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.006215, allocations: 11.88 kB / 269.8 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.006379, allocations: 15.8 kB / 269.8 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.006527, allocations: 27.78 kB / 269.8 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.006969, allocations: 107.6 kB / 269.9 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.007265, allocations: 143.5 kB / 270.1 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.007445, allocations: 41.97 kB / 270.1 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.007621, allocations: 75.8 kB / 270.2 MB, free: 3.863 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.007729, allocations: 39.84 kB / 270.2 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.738e-05/0.007767, allocations: 8 kB / 270.2 MB, free: 3.816 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.453e-05/0.007791, allocations: 12 kB / 270.2 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.485e-05/0.007886, allocations: 35.83 kB / 270.3 MB, free: 3.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.905e-05/0.007955, allocations: 35.91 kB / 270.3 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.008231, allocations: 139.4 kB / 270.4 MB, free: 3.598 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.008243, allocations: 4 kB / 270.5 MB, free: 3.594 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.008245, allocations: 0 / 270.5 MB, free: 3.594 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.008253, allocations: 0 / 270.5 MB, free: 3.594 MB / 250.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.0007472/0.009001, allocations: 377.7 kB / 270.8 MB, free: 3.195 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.009041, allocations: 8.031 kB / 270.8 MB, free: 3.188 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.607e-05/0.009127, allocations: 28.8 kB / 270.9 MB, free: 3.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.009597, allocations: 191.3 kB / 271 MB, free: 2.945 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.009621, allocations: 8.562 kB / 271.1 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.00964, allocations: 4.375 kB / 271.1 MB, free: 2.934 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007225/0.01036, allocations: 313.1 kB / 271.4 MB, free: 2.594 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.01038, allocations: 0 / 271.4 MB, free: 2.594 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.0104, allocations: 7.984 kB / 271.4 MB, free: 2.586 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.0104, allocations: 0 / 271.4 MB, free: 2.586 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/0.01065, allocations: 79.88 kB / 271.4 MB, free: 2.508 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.0112, allocations: 351.1 kB / 271.8 MB, free: 2.121 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005196/0.01172, allocations: 204.9 kB / 272 MB, free: 1.875 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.01194, allocations: 104.4 kB / 272.1 MB, free: 1.758 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.447e-05/0.01199, allocations: 11.98 kB / 272.1 MB, free: 1.746 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.01203, allocations: 42.5 kB / 272.1 MB, free: 1.695 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.01203, allocations: 3.938 kB / 272.2 MB, free: 1.691 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006136/0.01264, allocations: 221.3 kB / 272.4 MB, free: 1.469 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000441/0.01308, allocations: 195.9 kB / 272.6 MB, free: 1.234 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.0133, allocations: 179.2 kB / 272.7 MB, free: 1.051 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.01333, allocations: 34.08 kB / 272.8 MB, free: 1.012 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/0.01343, allocations: 104.1 kB / 272.9 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.01345, allocations: 7.953 kB / 272.9 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.01349, allocations: 13.72 kB / 272.9 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.01369, allocations: 322.8 kB / 273.2 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.865e-05/0.01374, allocations: 11.98 kB / 273.2 MB, free: 0.543 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.717e-05/0.01382, allocations: 52.22 kB / 273.3 MB, free: 488 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.341e-05/0.01392, allocations: 33.7 kB / 273.3 MB, free: 448 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01392, allocations: 8.094 kB / 273.3 MB, free: 440 kB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001432/0.01406, allocations: 65.56 kB / 273.4 MB, free: 368 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.01408, allocations: 4 kB / 273.4 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.01408, allocations: 0 / 273.4 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.0141, allocations: 0 / 273.4 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-05/0.01416, allocations: 4 kB / 273.4 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.01418, allocations: 7.938 kB / 273.4 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.663e-05/0.01423, allocations: 7.938 kB / 273.4 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.01424, allocations: 4 kB / 273.4 MB, free: 340 kB / 250.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.0001355/0.01438, allocations: 125.9 kB / 273.5 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/0.01469, allocations: 149.4 kB / 273.7 MB, free: 48 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.089e-05/0.01476, allocations: 17.47 kB / 273.7 MB, free: 24 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01476, allocations: 4 kB / 273.7 MB, free: 20 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.01477, allocations: 4 kB / 273.7 MB, free: 16 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.01478, allocations: 7.922 kB / 273.7 MB, free: 8 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.01507, allocations: 141.2 kB / 273.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01507, allocations: 0 / 273.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.01521, allocations: 40.02 kB / 273.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.01521, allocations: 4 kB / 273.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.01523, allocations: 4 kB / 273.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.117e-05/0.01524, allocations: 11.92 kB / 273.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01524, allocations: 0 / 273.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/0.01574, allocations: 361.1 kB / 274.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-05/0.01583, allocations: 40.05 kB / 274.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.01585, allocations: 7.938 kB / 274.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.016, allocations: 19.92 kB / 274.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.01605, allocations: 7.984 kB / 274.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.01606, allocations: 7.938 kB / 274.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001428/0.01621, allocations: 137.1 kB / 274.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01621, allocations: 0 / 274.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002827/0.01649, allocations: 16 kB / 274.5 MB, free: 15.17 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.0001961/0.01669, allocations: 103.2 kB / 274.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002831/0.01697, allocations: 71.89 kB / 274.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01697, allocations: 4 kB / 274.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.502e-05/0.01702, allocations: 7.938 kB / 274.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008713/0.01789, allocations: 103.9 kB / 274.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.0198, allocations: 440.9 kB / 275.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.02001, allocations: 110.8 kB / 275.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.538e-05/0.0201, allocations: 8.641 kB / 275.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.467e-05/0.02017, allocations: 16.5 kB / 275.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of SimCode: time 1.653e-06/0.02017, allocations: 0 / 275.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of Templates: time 0.006926/0.0271, allocations: 1.727 MB / 277.1 MB, free: 12.57 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.584258422954008]