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.001353/0.001353, allocations: 113.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001535/0.001535, allocations: 206.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.436/2.436, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002521/0.002521, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5779/0.5805, allocations: 50.54 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.005155/0.5858, allocations: 1.492 MB / 411.4 MB, free: 128 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008169/0.5866, allocations: 139.5 kB / 411.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.5868, allocations: 4 kB / 411.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.806e-05/0.587, allocations: 11.92 kB / 411.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.5872, allocations: 7.938 kB / 411.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.5877, allocations: 35.91 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.5879, allocations: 31.91 kB / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.5881, allocations: 15.98 kB / 411.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.186e-05/0.5882, allocations: 15.92 kB / 411.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.407e-05/0.5882, allocations: 11.88 kB / 411.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.5883, allocations: 4 kB / 411.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.099e-05/0.5883, allocations: 8 kB / 411.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.152e-05/0.5884, allocations: 11.98 kB / 411.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.604e-05/0.5885, allocations: 19.81 kB / 411.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.5887, allocations: 51.75 kB / 411.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.5888, allocations: 0 / 411.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5888, allocations: 0 / 411.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.5888, allocations: 0 / 411.8 MB, free: 15.76 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.0008513/0.5897, allocations: 359 kB / 412.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.742e-05/0.5898, allocations: 12.03 kB / 412.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.987e-05/0.5898, allocations: 8.844 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005297/0.5904, allocations: 197.5 kB / 412.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/0.5905, allocations: 12.31 kB / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.5905, allocations: 4.375 kB / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.591, allocations: 121.5 kB / 412.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.591, allocations: 192 / 412.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.591, allocations: 3.938 kB / 412.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.591, allocations: 7.984 kB / 412.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.5912, allocations: 15.98 kB / 412.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.5918, allocations: 249.8 kB / 412.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.5921, allocations: 142.2 kB / 412.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.5923, allocations: 25.77 kB / 412.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.5923, allocations: 7.938 kB / 412.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.5924, allocations: 30.56 kB / 413 MB, free: 14.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.754e-06/0.5924, allocations: 0 / 413 MB, free: 14.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004186/0.5928, allocations: 77.52 kB / 413 MB, free: 14.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.5929, allocations: 81.11 kB / 413.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.5932, allocations: 129.1 kB / 413.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.5933, allocations: 33.7 kB / 413.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.5934, allocations: 80.14 kB / 413.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.5934, allocations: 3.906 kB / 413.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.541e-05/0.5935, allocations: 25.7 kB / 413.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002419/0.5938, allocations: 319 kB / 413.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.5939, allocations: 7.984 kB / 413.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.657e-05/0.594, allocations: 27.44 kB / 413.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.5941, allocations: 47.36 kB / 413.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.5941, allocations: 0 / 413.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002273/0.5944, allocations: 65.5 kB / 413.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.5944, allocations: 4 kB / 413.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.5944, allocations: 0 / 413.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.5945, allocations: 7.938 kB / 413.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.023e-05/0.5945, allocations: 0 / 413.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.5945, allocations: 4.125 kB / 413.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.559e-05/0.5946, allocations: 7.906 kB / 413.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.5946, allocations: 4 kB / 413.9 MB, free: 13.39 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 0.0001892/0.5948, allocations: 129.7 kB / 414 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.595, allocations: 49.62 kB / 414 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.216e-05/0.5951, allocations: 7.906 kB / 414 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.5951, allocations: 7.938 kB / 414 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.5951, allocations: 0 / 414 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.5951, allocations: 0 / 414 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.5955, allocations: 177.5 kB / 414.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.5955, allocations: 0 / 414.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.266e-05/0.5955, allocations: 4 kB / 414.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5955, allocations: 0 / 414.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.5956, allocations: 0 / 414.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.5956, allocations: 0 / 414.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.5956, allocations: 4 kB / 414.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.5959, allocations: 176.5 kB / 414.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.596, allocations: 97.03 kB / 414.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.5961, allocations: 0 / 414.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.5962, allocations: 0 / 414.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/0.5963, allocations: 4 kB / 414.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.5963, allocations: 0 / 414.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.5964, allocations: 103.2 kB / 414.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.5965, allocations: 4 kB / 414.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004281/0.5969, allocations: 4 kB / 414.6 MB, free: 12.52 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 0.0001896/0.5971, allocations: 103.2 kB / 414.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.5973, allocations: 23.92 kB / 414.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.5974, allocations: 4 kB / 414.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.363e-05/0.5974, allocations: 0 / 414.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006094/0.5981, allocations: 26.19 kB / 414.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006345/0.5987, allocations: 180.4 kB / 414.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.5992, allocations: 0.6924 MB / 415.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.5993, allocations: 7.438 kB / 415.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of SimCode: time 3.557e-06/0.5993, allocations: 0 / 415.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of Templates: time 0.004436/0.6038, allocations: 0.6914 MB / 416.3 MB, free: 10.73 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/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