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.0009413/0.0009413, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001083/0.001083, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9671/0.9671, allocations: 177 MB / 205.2 MB, free: 5.043 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.422e-06/1.422e-06, allocations: 0 / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625e-05/1.767e-05, allocations: 2.312 kB / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.005372/0.00539, allocations: 1.595 MB / 275 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003253/0.005715, allocations: 151.4 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.175e-05/0.005767, allocations: 0 / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.005797, allocations: 7.938 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.161e-05/0.005889, allocations: 7.938 kB / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.006047, allocations: 39.77 kB / 275.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.838e-05/0.006116, allocations: 23.94 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.929e-05/0.006175, allocations: 11.98 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.954e-05/0.006215, allocations: 19.91 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.076e-05/0.006235, allocations: 4 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.006249, allocations: 4 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.492e-06/0.006255, allocations: 0 / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.843e-05/0.006284, allocations: 15.92 kB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.403e-05/0.006298, allocations: 4 kB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.035e-05/0.006368, allocations: 35.84 kB / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.00637, allocations: 0 / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.006371, allocations: 0 / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.565e-06/0.006373, allocations: 0 / 275.3 MB, free: 15.1 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002212/0.006595, allocations: 260.8 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.603e-05/0.006621, allocations: 11.98 kB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.021e-05/0.006641, allocations: 12.86 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.006754, allocations: 129.6 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.006765, allocations: 4.375 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-06/0.00677, allocations: 4.375 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.006881, allocations: 102.3 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-06/0.006885, allocations: 192 / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-06/0.006891, allocations: 8.375 kB / 275.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.006894, allocations: 384 / 275.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.239e-05/0.006907, allocations: 7.938 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.007038, allocations: 149.1 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.196e-05/0.00707, allocations: 33.22 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.007085, allocations: 17.72 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-06/0.007094, allocations: 4.062 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.007111, allocations: 34.5 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.007112, allocations: 0 / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 7.668e-05/0.007188, allocations: 41.62 kB / 276.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.007224, allocations: 85.05 kB / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.827e-05/0.007293, allocations: 134.6 kB / 276.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.745e-06/0.007301, allocations: 25.7 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.007328, allocations: 84.38 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-06/0.007332, allocations: 8 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.007355, allocations: 9.719 kB / 276.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00309/0.01044, allocations: 322.8 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-06/0.01045, allocations: 0 / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-06/0.01045, allocations: 0 / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.22e-05/0.01047, allocations: 8.859 kB / 276.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.01047, allocations: 0 / 276.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.403e-05/0.0105, allocations: 33.64 kB / 276.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.01051, allocations: 8 kB / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-06/0.01051, allocations: 4.094 kB / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.773e-06/0.01052, allocations: 3.984 kB / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.244e-06/0.01053, allocations: 3.938 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-06/0.01053, allocations: 0 / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.454e-05/0.01054, allocations: 3.938 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-06/0.01055, allocations: 4 kB / 276.9 MB, free: 13.38 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: 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 4.941e-05/0.0106, allocations: 112.7 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.01063, allocations: 37.62 kB / 277 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.771e-05/0.01065, allocations: 7.469 kB / 277 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01065, allocations: 0 / 277 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.01065, allocations: 7.969 kB / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.01065, allocations: 0 / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.299e-05/0.01075, allocations: 73.88 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.01075, allocations: 0 / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-06/0.01075, allocations: 4 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-07/0.01075, allocations: 0 / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-06/0.01075, allocations: 0 / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.01076, allocations: 0 / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01076, allocations: 0 / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.164e-05/0.01082, allocations: 140.3 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.01084, allocations: 15.98 kB / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-06/0.01084, allocations: 3.938 kB / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.737e-05/0.01089, allocations: 11.98 kB / 277.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.0109, allocations: 0 / 277.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.0109, allocations: 0 / 277.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.527e-05/0.01093, allocations: 35.66 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01093, allocations: 0 / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001628/0.01109, allocations: 8 kB / 277.3 MB, free: 12.88 MB / 266.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 5.91e-05/0.01115, allocations: 76.41 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.373e-05/0.01119, allocations: 12.86 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.0112, allocations: 4 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.057e-06/0.01121, allocations: 4.859 kB / 277.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.01139, allocations: 20.23 kB / 277.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002037/0.0116, allocations: 143.8 kB / 277.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.505e-05/0.01163, allocations: 59.34 kB / 277.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.257e-05/0.01164, allocations: 0 / 277.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.01168, allocations: 51.59 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of SimCode: time 3.5e-07/0.01168, allocations: 4 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of Templates: time 0.00336/0.01504, allocations: 0.4942 MB / 278.2 MB, free: 11.95 MB / 266.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 240] 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","",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.5343497660942376]