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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001183/0.001183, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.605/1.605, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 55.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4285, allocations: 50.55 MB / 409.2 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003791/0.4324, allocations: 1.491 MB / 410.7 MB, free: 68 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000509/0.4329, allocations: 135.6 kB / 410.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.433, allocations: 0 / 410.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.947e-05/0.4331, allocations: 3.938 kB / 410.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.4333, allocations: 7.922 kB / 410.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.4336, allocations: 35.91 kB / 410.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.4338, allocations: 27.92 kB / 410.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.4339, allocations: 11.98 kB / 411 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.422e-05/0.434, allocations: 15.94 kB / 411 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.79e-05/0.434, allocations: 7.938 kB / 411 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.434, allocations: 0 / 411 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.434, allocations: 4 kB / 411 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.4341, allocations: 15.92 kB / 411 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.4342, allocations: 19.86 kB / 411 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.4343, allocations: 39.83 kB / 411.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4343, allocations: 0 / 411.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4343, allocations: 0 / 411.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.4343, allocations: 0 / 411.1 MB, free: 15.75 MB / 334.1 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.0006497/0.435, allocations: 363 kB / 411.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.435, allocations: 15.97 kB / 411.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.4351, allocations: 4.844 kB / 411.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.4354, allocations: 197.5 kB / 411.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.4354, allocations: 4.375 kB / 411.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.4354, allocations: 4.375 kB / 411.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.4357, allocations: 85.61 kB / 411.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4357, allocations: 4.188 kB / 411.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.4358, allocations: 3.938 kB / 411.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.4358, allocations: 0 / 411.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.371e-05/0.4358, allocations: 15.98 kB / 411.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.4363, allocations: 253.8 kB / 412 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.781e-05/0.4364, allocations: 49.14 kB / 412 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.4364, allocations: 13.78 kB / 412 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.4365, allocations: 4 kB / 412.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.4365, allocations: 38.5 kB / 412.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.4365, allocations: 0 / 412.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002413/0.4367, allocations: 57.62 kB / 412.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.942e-05/0.4368, allocations: 81.11 kB / 412.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.437, allocations: 137.7 kB / 412.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.437, allocations: 25.7 kB / 412.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.631e-05/0.4371, allocations: 80.14 kB / 412.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.4371, allocations: 8 kB / 412.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.4372, allocations: 17.97 kB / 412.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4374, allocations: 314.8 kB / 412.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.252e-05/0.4374, allocations: 7.984 kB / 412.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.358e-05/0.4374, allocations: 13.72 kB / 412.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.92e-05/0.4375, allocations: 29.58 kB / 412.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4375, allocations: 8.062 kB / 412.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.156e-05/0.4376, allocations: 49.55 kB / 412.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.4376, allocations: 6.812 kB / 412.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4377, allocations: 3.984 kB / 412.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.4377, allocations: 0 / 412.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.771e-05/0.4377, allocations: 7.938 kB / 412.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.4377, allocations: 0 / 412.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.4378, allocations: 0 / 412.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.4378, allocations: 0 / 412.9 MB, free: 13.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 9.347e-05/0.4379, allocations: 125.8 kB / 413 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.807e-05/0.4379, allocations: 37.69 kB / 413.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.438, allocations: 11.48 kB / 413.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.438, allocations: 0 / 413.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.438, allocations: 3.984 kB / 413.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.438, allocations: 4 kB / 413.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.4382, allocations: 169.6 kB / 413.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.4383, allocations: 0 / 413.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-06/0.4383, allocations: 3.938 kB / 413.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.4383, allocations: 4.031 kB / 413.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.4383, allocations: 0 / 413.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.4383, allocations: 7.938 kB / 413.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4383, allocations: 0 / 413.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.4385, allocations: 152.2 kB / 413.4 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.671e-05/0.4386, allocations: 89 kB / 413.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.4386, allocations: 8.031 kB / 413.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.632e-05/0.4387, allocations: 0 / 413.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.4387, allocations: 0 / 413.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.4387, allocations: 7.984 kB / 413.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.853e-05/0.4388, allocations: 102.2 kB / 413.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4388, allocations: 0 / 413.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.439, allocations: 4 kB / 413.6 MB, free: 12.79 MB / 334.1 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 0.0001209/0.4392, allocations: 95.25 kB / 413.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.4393, allocations: 31.92 kB / 413.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4393, allocations: 0 / 413.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.791e-05/0.4393, allocations: 4 kB / 413.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.4397, allocations: 27.39 kB / 413.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.44, allocations: 142.3 kB / 413.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.4403, allocations: 0.6887 MB / 414.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.059e-05/0.4404, allocations: 4 kB / 414.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.4404, allocations: 11.44 kB / 414.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4404, allocations: 0 / 414.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of Templates: time 0.003108/0.4435, allocations: 438.7 kB / 415.1 MB, free: 11.3 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches