Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.001305/0.001305, 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.002057/0.002057, allocations: 161 kB / 24.56 MB, free: 12 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.053/1.053, allocations: 177.2 MB / 205 MB, free: 5.301 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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 273 MB, free: 1.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.497e-05, allocations: 9.125 kB / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001997/0.002022, allocations: 1.501 MB / 274.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002571/0.002279, allocations: 99.61 kB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.923e-05/0.002339, allocations: 3.938 kB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.00237, allocations: 3.984 kB / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.735e-05/0.002408, allocations: 11.88 kB / 274.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.002636, allocations: 19.97 kB / 274.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.741e-05/0.002723, allocations: 27.88 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.002841, allocations: 7.984 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.76e-05/0.002889, allocations: 11.98 kB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.171e-05/0.002931, allocations: 11.94 kB / 274.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.002951, allocations: 4 kB / 274.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-06/0.00296, allocations: 0 / 274.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.002978, allocations: 0 / 274.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.003008, allocations: 19.91 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.548e-05/0.003093, allocations: 19.92 kB / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003095, allocations: 0 / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.003096, allocations: 4 kB / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.0031, allocations: 0 / 274.7 MB, free: 15.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003256/0.003426, allocations: 364.6 kB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.003463, allocations: 8.031 kB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.003501, allocations: 8.891 kB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.003642, allocations: 116.6 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.003652, allocations: 8.375 kB / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.003666, allocations: 4.312 kB / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.003889, allocations: 118.2 kB / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.003897, allocations: 192 / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.003905, allocations: 384 / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.003912, allocations: 384 / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.404e-05/0.003936, allocations: 7.938 kB / 275.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.687e-05/0.004033, allocations: 120.6 kB / 275.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.438e-05/0.004107, allocations: 39.06 kB / 275.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/0.004138, allocations: 23.69 kB / 275.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.004154, allocations: 3.938 kB / 275.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.004173, allocations: 41.39 kB / 275.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.194e-06/0.004175, allocations: 3.984 kB / 275.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001233/0.004298, allocations: 49.69 kB / 275.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.004332, allocations: 55.41 kB / 275.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/0.0044, allocations: 169.9 kB / 275.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.004409, allocations: 25.7 kB / 275.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.004449, allocations: 134.9 kB / 276 MB, free: 14.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.004451, allocations: 0 / 276 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/0.004469, allocations: 15.38 kB / 276 MB, free: 14.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.00458, allocations: 0.4884 MB / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-06/0.004587, allocations: 4.188 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-06/0.004591, allocations: 4 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.811e-05/0.004619, allocations: 123.2 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.556e-05/0.004644, allocations: 119.2 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.412e-05/0.004678, allocations: 29.7 kB / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/0.004721, allocations: 123.2 kB / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/0.00475, allocations: 127.1 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.259e-05/0.004813, allocations: 242.4 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.593e-05/0.004839, allocations: 119.2 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-05/0.00489, allocations: 246.3 kB / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.832e-05/0.004938, allocations: 127.1 kB / 277.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.004967, allocations: 127.1 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 8.786e-05/0.005055, allocations: 275.8 kB / 278.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.005099, allocations: 45.64 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.005126, allocations: 12 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.005127, allocations: 0 / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.005132, allocations: 0 / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.005136, allocations: 3.938 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.005436, allocations: 120.6 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.005439, allocations: 0 / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.104e-05/0.00551, allocations: 8 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.005514, allocations: 4 kB / 278.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.005521, allocations: 0 / 278.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.005523, allocations: 0 / 278.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.005524, allocations: 3.938 kB / 278.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.487e-05/0.005599, allocations: 92.27 kB / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.005608, allocations: 7.984 kB / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.005619, allocations: 0 / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.926e-06/0.005628, allocations: 0 / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-06/0.005634, allocations: 0 / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.005639, allocations: 0 / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.104e-05/0.00568, allocations: 131.2 kB / 278.5 MB, free: 11.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00568, allocations: 0 / 278.5 MB, free: 11.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000131/0.005811, allocations: 4 kB / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 9.995e-05/0.005911, allocations: 107.4 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.662e-05/0.005957, allocations: 11.94 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.005959, allocations: 0 / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.005959, allocations: 4 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.006127, allocations: 12.42 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002288/0.006356, allocations: 117.1 kB / 278.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.331e-05/0.006389, allocations: 55.36 kB / 278.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.102e-06/0.006395, allocations: 4 kB / 278.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.006422, allocations: 12.5 kB / 278.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.006423, allocations: 0 / 278.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of Templates: time 0.001634/0.008057, allocations: 313.2 kB / 279.2 MB, free: 10.84 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.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.0062793670222163]