Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001978/0.001978, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.001646/0.001646, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.605/1.605, allocations: 230.6 MB / 258.2 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 64.97 kB / 379 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3855, allocations: 53.38 MB / 432.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003482/0.3889, allocations: 1.531 MB / 433.9 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004576/0.3894, allocations: 143.5 kB / 434.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.3895, allocations: 4 kB / 434.1 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.624e-05/0.3896, allocations: 3.938 kB / 434.1 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.3897, allocations: 3.938 kB / 434.1 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.39, allocations: 39.89 kB / 434.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.3901, allocations: 31.92 kB / 434.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3903, allocations: 15.78 kB / 434.2 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.431e-05/0.3903, allocations: 7.938 kB / 434.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.25e-05/0.3903, allocations: 27.84 kB / 434.2 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.3903, allocations: 4 kB / 434.2 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.3904, allocations: 4 kB / 434.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.948e-05/0.3904, allocations: 11.94 kB / 434.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.451e-05/0.3905, allocations: 23.86 kB / 434.3 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.3906, allocations: 47.41 kB / 434.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3906, allocations: 4 kB / 434.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3906, allocations: 0 / 434.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.3906, allocations: 0 / 434.3 MB, free: 5.086 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.000558/0.3912, allocations: 285.2 kB / 434.6 MB, free: 4.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3912, allocations: 16.03 kB / 434.6 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.3913, allocations: 8.891 kB / 434.6 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.3916, allocations: 131.5 kB / 434.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.3916, allocations: 4.375 kB / 434.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.3916, allocations: 384 / 434.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/0.392, allocations: 125.5 kB / 434.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.392, allocations: 192 / 434.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.392, allocations: 3.938 kB / 434.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.392, allocations: 4 kB / 434.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.523e-05/0.3921, allocations: 15.98 kB / 434.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.3925, allocations: 236.8 kB / 435.1 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.3927, allocations: 53.14 kB / 435.2 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.822e-05/0.3927, allocations: 25.77 kB / 435.2 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3927, allocations: 8 kB / 435.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.3928, allocations: 38.5 kB / 435.2 MB, free: 4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3928, allocations: 0 / 435.2 MB, free: 4 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002801/0.3931, allocations: 69.77 kB / 435.3 MB, free: 3.926 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.3932, allocations: 85.08 kB / 435.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.3933, allocations: 132.6 kB / 435.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3934, allocations: 25.7 kB / 435.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/0.3934, allocations: 88.14 kB / 435.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.19e-05/0.3934, allocations: 4.062 kB / 435.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.3935, allocations: 25.7 kB / 435.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002693/0.3938, allocations: 314.8 kB / 436 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.509e-05/0.3938, allocations: 8 kB / 436 MB, free: 3.207 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.767e-05/0.3938, allocations: 27.42 kB / 436 MB, free: 3.168 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.394, allocations: 43.38 kB / 436 MB, free: 3.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.394, allocations: 0 / 436 MB, free: 3.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001322/0.3941, allocations: 81.38 kB / 436.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3941, allocations: 4 kB / 436.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.3941, allocations: 0 / 436.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.3942, allocations: 4.125 kB / 436.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.265e-05/0.3942, allocations: 4 kB / 436.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3942, allocations: 4 kB / 436.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.459e-05/0.3942, allocations: 4 kB / 436.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.3942, allocations: 0 / 436.1 MB, free: 3.008 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.0001488/0.3944, allocations: 125.8 kB / 436.3 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.868e-05/0.3945, allocations: 49.59 kB / 436.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.403e-05/0.3945, allocations: 11.98 kB / 436.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3945, allocations: 4 kB / 436.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3945, allocations: 4 kB / 436.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3945, allocations: 3.938 kB / 436.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.3947, allocations: 136.7 kB / 436.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3947, allocations: 0 / 436.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.11e-05/0.3947, allocations: 4 kB / 436.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3947, allocations: 0 / 436.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3947, allocations: 4 kB / 436.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3947, allocations: 0 / 436.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3948, allocations: 4 kB / 436.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.395, allocations: 164.2 kB / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.395, allocations: 19.92 kB / 436.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.395, allocations: 4 kB / 436.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.152e-05/0.3951, allocations: 0 / 436.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.3951, allocations: 7.984 kB / 436.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3951, allocations: 0 / 436.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.818e-05/0.3952, allocations: 103.3 kB / 436.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3952, allocations: 0 / 436.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000223/0.3954, allocations: 8 kB / 436.8 MB, free: 2.281 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.0001411/0.3956, allocations: 95.25 kB / 436.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.3957, allocations: 23.92 kB / 436.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3957, allocations: 0 / 436.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.826e-05/0.3957, allocations: 7.984 kB / 436.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.3961, allocations: 23.97 kB / 436.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/0.3965, allocations: 158.6 kB / 437.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.3969, allocations: 0.6923 MB / 437.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.557e-05/0.3969, allocations: 0 / 437.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.3969, allocations: 11.44 kB / 437.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3969, allocations: 0 / 437.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of Templates: time 0.00383/0.4008, allocations: 0.5244 MB / 438.3 MB, free: 0.6953 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.952686473727226]