Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001607/0.001607, allocations: 117.3 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002316/0.002316, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3746, allocations: 50.55 MB / 409.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002753/0.3774, allocations: 1.503 MB / 410.7 MB, free: 84 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003898/0.3779, allocations: 135.5 kB / 410.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.287e-05/0.378, allocations: 4 kB / 410.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.629e-05/0.378, allocations: 3.938 kB / 410.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.3782, allocations: 7.938 kB / 410.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.3784, allocations: 51.44 kB / 410.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.849e-05/0.3785, allocations: 31.92 kB / 411 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3786, allocations: 15.97 kB / 411 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.497e-05/0.3787, allocations: 11.94 kB / 411 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.86e-05/0.3787, allocations: 19.86 kB / 411 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.3788, allocations: 8 kB / 411 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.3788, allocations: 4 kB / 411 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.562e-05/0.3788, allocations: 4 kB / 411 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.826e-05/0.3789, allocations: 27.8 kB / 411.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.379, allocations: 43.75 kB / 411.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.379, allocations: 0 / 411.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.379, allocations: 4 kB / 411.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.3791, allocations: 0 / 411.1 MB, free: 15.72 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005152/0.3796, allocations: 359.2 kB / 411.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3796, allocations: 11.97 kB / 411.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.3797, allocations: 12.89 kB / 411.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.3799, allocations: 192.2 kB / 411.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.3799, allocations: 384 / 411.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.3799, allocations: 4.375 kB / 411.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.3802, allocations: 117.6 kB / 411.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.3802, allocations: 192 / 411.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3803, allocations: 7.875 kB / 411.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3803, allocations: 0 / 411.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.959e-05/0.3803, allocations: 19.92 kB / 411.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.3806, allocations: 261.8 kB / 412.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.3808, allocations: 146.2 kB / 412.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.34e-05/0.3809, allocations: 21.78 kB / 412.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.3809, allocations: 0 / 412.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.381, allocations: 38.55 kB / 412.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.381, allocations: 4 kB / 412.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002204/0.3812, allocations: 69.58 kB / 412.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.3813, allocations: 77.11 kB / 412.4 MB, free: 14.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.3815, allocations: 133.2 kB / 412.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.3815, allocations: 29.69 kB / 412.6 MB, free: 13.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.3815, allocations: 88.14 kB / 412.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.778e-06/0.3815, allocations: 3.938 kB / 412.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.3816, allocations: 25.8 kB / 412.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3817, allocations: 318.8 kB / 413 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.056e-05/0.3817, allocations: 8 kB / 413 MB, free: 13.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.565e-05/0.3818, allocations: 31.36 kB / 413 MB, free: 13.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.377e-05/0.3818, allocations: 43.38 kB / 413.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3819, allocations: 0 / 413.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.851e-05/0.382, allocations: 65.56 kB / 413.2 MB, free: 13.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.382, allocations: 4 kB / 413.2 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.382, allocations: 0 / 413.2 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.382, allocations: 4 kB / 413.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.356e-05/0.382, allocations: 8.047 kB / 413.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.382, allocations: 4 kB / 413.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.942e-05/0.3821, allocations: 4 kB / 413.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.3821, allocations: 288 / 413.2 MB, free: 13.35 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.861e-05/0.3822, allocations: 133.7 kB / 413.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.348e-05/0.3822, allocations: 53.62 kB / 413.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.3823, allocations: 7.906 kB / 413.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3823, allocations: 0 / 413.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3823, allocations: 4 kB / 413.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3823, allocations: 4 kB / 413.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.3825, allocations: 177.6 kB / 413.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3825, allocations: 0 / 413.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.647e-06/0.3825, allocations: 3.984 kB / 413.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3825, allocations: 4 kB / 413.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.3825, allocations: 0 / 413.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3825, allocations: 0 / 413.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3825, allocations: 0 / 413.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.3827, allocations: 172.2 kB / 413.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.3827, allocations: 93.05 kB / 413.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.3828, allocations: 4 kB / 413.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.168e-05/0.3828, allocations: 0 / 413.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.3828, allocations: 3.984 kB / 413.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.3829, allocations: 4 kB / 413.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.554e-05/0.3829, allocations: 99.27 kB / 413.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3829, allocations: 0 / 413.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002138/0.3831, allocations: 4 kB / 413.9 MB, free: 12.48 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: 4 (step.y,assignClock.u,assignClock.y,sample1.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.301e-05/0.3832, allocations: 99.25 kB / 414 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.3834, allocations: 27.92 kB / 414.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3834, allocations: 0 / 414.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.601e-05/0.3834, allocations: 11.98 kB / 414.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.3837, allocations: 30.12 kB / 414.1 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.384, allocations: 154.6 kB / 414.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.3843, allocations: 0.6885 MB / 414.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.846e-05/0.3844, allocations: 0 / 414.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.3844, allocations: 11.44 kB / 414.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of SimCode: time 1.433e-06/0.3844, allocations: 0 / 414.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of Templates: time 0.002602/0.387, allocations: 0.495 MB / 415.4 MB, free: 10.91 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches