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.001024/0.001024, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009307/0.0009307, allocations: 165 kB / 24.56 MB, free: 8 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.177/1.177, allocations: 177.1 MB / 205 MB, free: 5.605 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: 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 2.625e-06/2.625e-06, allocations: 0 / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.968e-05/4.231e-05, allocations: 2.312 kB / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003923/0.003966, allocations: 1.903 MB / 274.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.005222, allocations: 0.6777 MB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.005382, allocations: 15.88 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.005571, allocations: 19.8 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.005728, allocations: 27.73 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.00616, allocations: 107.6 kB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.00635, allocations: 151.4 kB / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.006493, allocations: 41.95 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.006671, allocations: 87.8 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.981e-05/0.006751, allocations: 31.89 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.006773, allocations: 11.94 kB / 276 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.992e-05/0.006823, allocations: 20 kB / 276.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/0.006878, allocations: 27.91 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.038e-05/0.006918, allocations: 35.86 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.00712, allocations: 111.4 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.007124, allocations: 0 / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.007125, allocations: 0 / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.007131, allocations: 0 / 276.2 MB, free: 14.25 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.0004717/0.007602, allocations: 468.1 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.007642, allocations: 8.031 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.007799, allocations: 36.83 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.008056, allocations: 204.9 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.008081, allocations: 12.56 kB / 276.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.008099, allocations: 4.375 kB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.008525, allocations: 283.9 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.008536, allocations: 3.938 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.00855, allocations: 4 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.00856, allocations: 4 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.069e-05/0.008621, allocations: 27.92 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.009084, allocations: 465.5 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.009346, allocations: 191.5 kB / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.21e-05/0.009438, allocations: 94.45 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.009465, allocations: 4 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.009497, allocations: 49.31 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.009498, allocations: 0 / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002714/0.00977, allocations: 141.7 kB / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.275e-05/0.009862, allocations: 199.9 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.01004, allocations: 234.6 kB / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.01005, allocations: 25.7 kB / 278.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.979e-05/0.01012, allocations: 159.2 kB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.01014, allocations: 19.88 kB / 278.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.01018, allocations: 19.38 kB / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.01037, allocations: 0.4884 MB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.01039, allocations: 4 kB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.605e-05/0.01045, allocations: 56.77 kB / 279.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.178e-05/0.0105, allocations: 23.31 kB / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01051, allocations: 0 / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001217/0.01063, allocations: 53.73 kB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.01065, allocations: 8 kB / 279.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.01067, allocations: 11.98 kB / 279.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.01069, allocations: 0 / 279.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.226e-05/0.01077, allocations: 7.984 kB / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.01079, allocations: 3.938 kB / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.787e-05/0.01082, allocations: 4 kB / 279.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.01083, allocations: 0 / 279.5 MB, free: 10.6 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.0001152/0.01095, allocations: 160.6 kB / 279.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.0111, allocations: 117.4 kB / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/0.01115, allocations: 29.48 kB / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.01115, allocations: 4 kB / 279.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.01116, allocations: 0 / 279.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.01116, allocations: 7.938 kB / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.01134, allocations: 152.8 kB / 280 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01134, allocations: 0 / 280 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.66e-05/0.01142, allocations: 35.98 kB / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01143, allocations: 0 / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.01144, allocations: 11.97 kB / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.01144, allocations: 0 / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.01145, allocations: 7.938 kB / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.0117, allocations: 421.9 kB / 280.4 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.17e-05/0.01177, allocations: 35.88 kB / 280.5 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.01178, allocations: 0 / 280.5 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.991e-05/0.01186, allocations: 12 kB / 280.5 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.0119, allocations: 0 / 280.5 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.01192, allocations: 11.92 kB / 280.5 MB, free: 9.531 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.891e-05/0.012, allocations: 176.1 kB / 280.7 MB, free: 9.359 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.012, allocations: 0 / 280.7 MB, free: 9.359 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001954/0.0122, allocations: 19.88 kB / 280.7 MB, free: 9.34 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.0001037/0.0123, allocations: 103.2 kB / 280.8 MB, free: 9.227 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.01243, allocations: 47.59 kB / 280.8 MB, free: 9.176 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01244, allocations: 0 / 280.8 MB, free: 9.176 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-05/0.01245, allocations: 15.62 kB / 280.8 MB, free: 9.156 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.01289, allocations: 90.16 kB / 280.9 MB, free: 9.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009699/0.01386, allocations: 370.1 kB / 281.3 MB, free: 8.664 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.134e-05/0.01392, allocations: 79.83 kB / 281.4 MB, free: 8.566 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.168e-05/0.01396, allocations: 9.141 kB / 281.4 MB, free: 8.555 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.014, allocations: 20.5 kB / 281.4 MB, free: 8.535 MB / 266.7 MB Notification: Performance of SimCode: time 9.41e-07/0.014, allocations: 0 / 281.4 MB, free: 8.535 MB / 266.7 MB Notification: Performance of Templates: time 0.004119/0.01812, allocations: 1.737 MB / 283.1 MB, free: 6.836 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.257265435066074]