Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001206/0.001206, allocations: 88.28 kB / 21.44 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00708/0.00708, allocations: 156.9 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8807/0.8807, allocations: 177 MB / 204.9 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.154e-05, allocations: 7.203 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.001975/0.002007, allocations: 1.509 MB / 327.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003194/0.002326, allocations: 135.5 kB / 327.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.346e-05/0.0024, allocations: 0 / 327.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.454e-05/0.002444, allocations: 3.938 kB / 327.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.002577, allocations: 15.88 kB / 327.4 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.002786, allocations: 31.84 kB / 327.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.25e-05/0.002878, allocations: 31.92 kB / 327.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.002978, allocations: 11.98 kB / 327.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.537e-05/0.003023, allocations: 15.92 kB / 327.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.712e-05/0.00305, allocations: 8 kB / 327.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.003072, allocations: 0 / 327.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-06/0.00308, allocations: 4 kB / 327.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.133e-05/0.003132, allocations: 15.91 kB / 327.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.003153, allocations: 8 kB / 327.6 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.003257, allocations: 43.81 kB / 327.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.00326, allocations: 0 / 327.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.003262, allocations: 0 / 327.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.003266, allocations: 4 kB / 327.6 MB, free: 13.55 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003641/0.00363, allocations: 286 kB / 327.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.003679, allocations: 11.98 kB / 327.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.003724, allocations: 8.922 kB / 327.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.003969, allocations: 126.2 kB / 328 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.003997, allocations: 8.375 kB / 328 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.004009, allocations: 384 / 328 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.004258, allocations: 93.59 kB / 328.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.004269, allocations: 4.188 kB / 328.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.004281, allocations: 4.375 kB / 328.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.004287, allocations: 384 / 328.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.107e-05/0.004328, allocations: 15.94 kB / 328.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002709/0.004599, allocations: 205.4 kB / 328.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/0.004946, allocations: 37.22 kB / 328.4 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.388e-05/0.00497, allocations: 17.77 kB / 328.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.004988, allocations: 0 / 328.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.005008, allocations: 42.44 kB / 328.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.00501, allocations: 4 kB / 328.5 MB, free: 12.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001631/0.005173, allocations: 61.52 kB / 328.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.005221, allocations: 81.11 kB / 328.6 MB, free: 12.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.9e-05/0.00531, allocations: 128.8 kB / 328.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.00532, allocations: 29.7 kB / 328.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.005363, allocations: 88.12 kB / 328.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.905e-06/0.005371, allocations: 0 / 328.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.005397, allocations: 17.67 kB / 328.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.493e-05/0.005472, allocations: 315.1 kB / 329.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.005492, allocations: 8 kB / 329.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.1e-05/0.005503, allocations: 7.984 kB / 329.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.765e-05/0.005531, allocations: 12.86 kB / 329.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.005533, allocations: 0 / 329.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.958e-05/0.005582, allocations: 49.56 kB / 329.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.005596, allocations: 4 kB / 329.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.005602, allocations: 3.938 kB / 329.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.005615, allocations: 0 / 329.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.458e-05/0.00563, allocations: 4.094 kB / 329.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.005635, allocations: 0 / 329.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.28e-05/0.005648, allocations: 4 kB / 329.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.005652, allocations: 0 / 329.3 MB, free: 11.7 MB / 298.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: 1 (sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.616e-05/0.005728, allocations: 117.8 kB / 329.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.005769, allocations: 37.66 kB / 329.4 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/0.005796, allocations: 15.36 kB / 329.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.005798, allocations: 0 / 329.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.005804, allocations: 4 kB / 329.4 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.005806, allocations: 7.969 kB / 329.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.242e-05/0.005899, allocations: 113.3 kB / 329.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.0059, allocations: 0 / 329.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-06/0.005904, allocations: 0 / 329.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.005906, allocations: 0 / 329.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.005913, allocations: 4 kB / 329.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.005915, allocations: 3.938 kB / 329.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005916, allocations: 0 / 329.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.493e-05/0.006011, allocations: 148.4 kB / 329.7 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.006039, allocations: 15.94 kB / 329.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.006053, allocations: 8.031 kB / 329.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.358e-05/0.006086, allocations: 7.938 kB / 329.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.006118, allocations: 0 / 329.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.006122, allocations: 3.938 kB / 329.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.812e-05/0.00617, allocations: 111.2 kB / 329.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00617, allocations: 3.938 kB / 329.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001355/0.006305, allocations: 4 kB / 329.8 MB, free: 11.04 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 8.437e-05/0.00639, allocations: 95.25 kB / 329.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.062e-05/0.00647, allocations: 16 kB / 330 MB, free: 10.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.006472, allocations: 0 / 330 MB, free: 10.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-05/0.006487, allocations: 7.984 kB / 330 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.006742, allocations: 11.97 kB / 330 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.00703, allocations: 167.2 kB / 330.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.238e-05/0.007092, allocations: 79.53 kB / 330.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.007121, allocations: 8.5 kB / 330.2 MB, free: 10.6 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.007121, allocations: 0 / 330.2 MB, free: 10.6 MB / 298.7 MB Notification: Performance of Templates: time 0.001682/0.008803, allocations: 0.6246 MB / 330.8 MB, free: 9.977 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.241324745118618]