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.001374/0.001374, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.002008/0.002008, allocations: 169.1 kB / 25.61 MB, free: 8.602 MB / 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.066/1.066, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.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 1.583e-06/1.583e-06, allocations: 0 / 274.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.781e-05, allocations: 3.125 kB / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.00325/0.003278, allocations: 1.483 MB / 275.7 MB, free: 2.949 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003154/0.003593, allocations: 104.2 kB / 275.8 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.623e-05/0.003669, allocations: 7.938 kB / 275.8 MB, free: 2.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.208e-05/0.003701, allocations: 0.9375 kB / 275.8 MB, free: 2.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.866e-05/0.00375, allocations: 3.938 kB / 275.8 MB, free: 2.836 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.004016, allocations: 24.53 kB / 275.8 MB, free: 2.812 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.125e-05/0.004107, allocations: 23.92 kB / 275.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.949e-05/0.004207, allocations: 10.41 kB / 275.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.765e-05/0.004264, allocations: 15.97 kB / 275.9 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.21e-05/0.004296, allocations: 11.94 kB / 275.9 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.004318, allocations: 4 kB / 275.9 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.805e-06/0.004326, allocations: 0 / 275.9 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.00435, allocations: 7.984 kB / 275.9 MB, free: 2.742 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.004371, allocations: 4 kB / 275.9 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.004477, allocations: 29.5 kB / 275.9 MB, free: 2.711 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.00448, allocations: 0 / 275.9 MB, free: 2.711 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.004481, allocations: 0 / 275.9 MB, free: 2.711 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.004487, allocations: 0 / 275.9 MB, free: 2.711 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007433/0.00523, allocations: 361.2 kB / 276.3 MB, free: 2.32 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.005278, allocations: 8.031 kB / 276.3 MB, free: 2.312 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.005315, allocations: 9.469 kB / 276.3 MB, free: 2.305 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.005485, allocations: 129.2 kB / 276.4 MB, free: 2.152 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.005505, allocations: 4.375 kB / 276.4 MB, free: 2.148 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.005515, allocations: 4.375 kB / 276.4 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.005772, allocations: 102.2 kB / 276.5 MB, free: 2.027 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.005783, allocations: 192 / 276.5 MB, free: 2.027 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.00579, allocations: 384 / 276.5 MB, free: 2.027 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.005796, allocations: 384 / 276.5 MB, free: 2.027 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.071e-05/0.005817, allocations: 7.938 kB / 276.5 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.797e-05/0.005915, allocations: 105.2 kB / 276.6 MB, free: 1.891 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.488e-05/0.00598, allocations: 35.06 kB / 276.7 MB, free: 1.844 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.006007, allocations: 19.75 kB / 276.7 MB, free: 1.82 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.00602, allocations: 0 / 276.7 MB, free: 1.82 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.006046, allocations: 45.33 kB / 276.7 MB, free: 1.766 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.006046, allocations: 4 kB / 276.7 MB, free: 1.762 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000118/0.006164, allocations: 45.64 kB / 276.8 MB, free: 1.711 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.006203, allocations: 59.59 kB / 276.8 MB, free: 1.641 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.985e-05/0.006273, allocations: 161.9 kB / 277 MB, free: 1.465 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.006282, allocations: 25.7 kB / 277 MB, free: 1.434 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.006321, allocations: 126.9 kB / 277.1 MB, free: 1.305 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.006323, allocations: 4 kB / 277.1 MB, free: 1.301 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.006346, allocations: 23.31 kB / 277.2 MB, free: 1.27 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.006467, allocations: 0.4883 MB / 277.7 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-06/0.00647, allocations: 0 / 277.7 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/0.006474, allocations: 7.922 kB / 277.7 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.857e-05/0.006503, allocations: 123.2 kB / 277.8 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-05/0.006535, allocations: 119.2 kB / 277.9 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.387e-05/0.006579, allocations: 25.7 kB / 277.9 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.00662, allocations: 127.2 kB / 278 MB, free: 376 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.133e-05/0.006651, allocations: 123.2 kB / 278.2 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.227e-05/0.006713, allocations: 246.3 kB / 278.4 MB, free: 4 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.796e-05/0.006741, allocations: 127.2 kB / 278.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.915e-05/0.0068, allocations: 242.3 kB / 278.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.597e-05/0.006856, allocations: 123.1 kB / 278.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.006885, allocations: 131.1 kB / 279 MB, free: 15.39 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 9.136e-05/0.006976, allocations: 275.7 kB / 279.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.00703, allocations: 45.69 kB / 279.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.007056, allocations: 7.688 kB / 279.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.007059, allocations: 0 / 279.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.00706, allocations: 0 / 279.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.007063, allocations: 0 / 279.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.15e-05/0.007125, allocations: 101.2 kB / 279.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.007129, allocations: 256 / 279.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.109e-05/0.00718, allocations: 11.98 kB / 279.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.007183, allocations: 0 / 279.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-06/0.007186, allocations: 0 / 279.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.007188, allocations: 0 / 279.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.007189, allocations: 0 / 279.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.065e-05/0.00724, allocations: 72.28 kB / 279.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-06/0.007249, allocations: 7.938 kB / 279.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-06/0.007257, allocations: 0 / 279.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.565e-05/0.007283, allocations: 3.984 kB / 279.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-06/0.007287, allocations: 8 kB / 279.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.007292, allocations: 4 kB / 279.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.929e-05/0.007332, allocations: 127.2 kB / 279.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007332, allocations: 0 / 279.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000134/0.007466, allocations: 0 / 279.7 MB, free: 14.67 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.411e-05/0.00756, allocations: 99.19 kB / 279.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.362e-05/0.007603, allocations: 7.984 kB / 279.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007605, allocations: 0 / 279.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.007605, allocations: 0 / 279.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.007764, allocations: 29.03 kB / 279.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002065/0.00797, allocations: 109.3 kB / 279.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.134e-05/0.008002, allocations: 63.2 kB / 280 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.292e-06/0.008008, allocations: 0 / 280 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.008044, allocations: 66.2 kB / 280 MB, free: 14.24 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.008045, allocations: 0 / 280 MB, free: 14.24 MB / 266.7 MB Notification: Performance of Templates: time 0.001775/0.00982, allocations: 314.5 kB / 280.3 MB, free: 13.94 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8154063196852803]