Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001382/0.001382, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001546/0.001546, allocations: 169.3 kB / 24.27 MB, free: 144 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.489/1.489, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.25e-05/3.465e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.004287/0.004322, allocations: 1.451 MB / 273.8 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004249/0.004747, allocations: 103.6 kB / 273.9 MB, free: 276 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.192e-05/0.004809, allocations: 0 / 273.9 MB, free: 276 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.247e-05/0.004841, allocations: 3.984 kB / 273.9 MB, free: 272 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.497e-05/0.004886, allocations: 11.88 kB / 273.9 MB, free: 260 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.005133, allocations: 19.92 kB / 273.9 MB, free: 240 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.275e-05/0.005226, allocations: 27.92 kB / 273.9 MB, free: 212 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.513e-05/0.005321, allocations: 7.984 kB / 273.9 MB, free: 204 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.245e-05/0.005394, allocations: 11.98 kB / 274 MB, free: 192 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.047e-05/0.005434, allocations: 11.92 kB / 274 MB, free: 180 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.005454, allocations: 0 / 274 MB, free: 180 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.005466, allocations: 4 kB / 274 MB, free: 176 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.005487, allocations: 8 kB / 274 MB, free: 168 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.005528, allocations: 8 kB / 274 MB, free: 160 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.005642, allocations: 31.83 kB / 274 MB, free: 128 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005644, allocations: 0 / 274 MB, free: 128 kB / 250.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005645, allocations: 0 / 274 MB, free: 128 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.00565, allocations: 0 / 274 MB, free: 128 kB / 250.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.0005427/0.006192, allocations: 266.3 kB / 274.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.006241, allocations: 8.031 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.006303, allocations: 4.938 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.006596, allocations: 117.7 kB / 274.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.006623, allocations: 8.375 kB / 274.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.006641, allocations: 8.312 kB / 274.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.007031, allocations: 99.86 kB / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.007041, allocations: 192 / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.007051, allocations: 384 / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.007056, allocations: 384 / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.359e-05/0.007149, allocations: 19.92 kB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.007319, allocations: 105.3 kB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.007506, allocations: 46.59 kB / 274.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.862e-05/0.007584, allocations: 20.89 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.007609, allocations: 3.938 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/0.007659, allocations: 30.56 kB / 274.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.00766, allocations: 0 / 274.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002965/0.007957, allocations: 69.62 kB / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.00803, allocations: 51.41 kB / 274.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.008168, allocations: 109.8 kB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.008192, allocations: 29.7 kB / 275 MB, free: 14.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/0.008261, allocations: 88.08 kB / 275.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-06/0.008264, allocations: 0 / 275.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.008302, allocations: 13.72 kB / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000218/0.00852, allocations: 310.8 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-06/0.008529, allocations: 3.938 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.945e-06/0.008532, allocations: 0 / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.93e-05/0.008581, allocations: 79.28 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.974e-05/0.008631, allocations: 75.28 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 9.159e-05/0.008722, allocations: 33.69 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.281e-05/0.008785, allocations: 83.28 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.628e-05/0.008851, allocations: 83.47 kB / 275.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/0.008976, allocations: 150.6 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.46e-05/0.009031, allocations: 83.28 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001105/0.009141, allocations: 154.5 kB / 276.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.009276, allocations: 79.22 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.009335, allocations: 83.22 kB / 276.3 MB, free: 13.67 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 0.0001619/0.009497, allocations: 189.1 kB / 276.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.009637, allocations: 53.86 kB / 276.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.009676, allocations: 11.69 kB / 276.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.009678, allocations: 4 kB / 276.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.009683, allocations: 0 / 276.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.009691, allocations: 3.938 kB / 276.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.00983, allocations: 109.3 kB / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.009834, allocations: 0 / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.495e-05/0.009889, allocations: 0 / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.009892, allocations: 0 / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.0099, allocations: 4 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.009902, allocations: 0 / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.009903, allocations: 0 / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.0101, allocations: 88.98 kB / 276.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.01011, allocations: 4 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.01012, allocations: 0 / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.147e-05/0.01015, allocations: 4 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-06/0.01015, allocations: 0 / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.01016, allocations: 0 / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.165e-05/0.01023, allocations: 83.28 kB / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01023, allocations: 3.938 kB / 276.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003494/0.01058, allocations: 4 kB / 276.8 MB, free: 13.05 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 0.0001605/0.01074, allocations: 103.2 kB / 276.9 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.042e-05/0.01083, allocations: 15.94 kB / 277 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01083, allocations: 4 kB / 277 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.02e-07/0.01084, allocations: 0 / 277 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.01112, allocations: 21.05 kB / 277 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.01141, allocations: 111.5 kB / 277.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.986e-05/0.01148, allocations: 63.34 kB / 277.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.949e-06/0.01149, allocations: 0 / 277.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.01152, allocations: 8.5 kB / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of SimCode: time 3.61e-07/0.01152, allocations: 0 / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of Templates: time 0.002555/0.01408, allocations: 306.8 kB / 277.5 MB, free: 12.38 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.186966657987796]