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.001522/0.001522, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001676/0.001676, allocations: 209.7 kB / 24.47 MB, free: 3.996 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.436/1.436, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.001905/0.001905, allocations: 71.83 kB / 378.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2995, allocations: 53.31 MB / 432 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003226/0.3028, allocations: 1.536 MB / 433.6 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000466/0.3032, allocations: 135.5 kB / 433.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.319e-05/0.3033, allocations: 7.938 kB / 433.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.073e-05/0.3034, allocations: 3.938 kB / 433.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.3035, allocations: 0 / 433.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.3038, allocations: 43.83 kB / 433.8 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.3039, allocations: 35.86 kB / 433.8 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.304, allocations: 8 kB / 433.8 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.042e-05/0.3041, allocations: 19.91 kB / 433.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.593e-05/0.3041, allocations: 15.92 kB / 433.8 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.3041, allocations: 4 kB / 433.8 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-06/0.3041, allocations: 4 kB / 433.8 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.456e-05/0.3042, allocations: 7.938 kB / 433.9 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.3042, allocations: 19.88 kB / 433.9 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.3044, allocations: 51.59 kB / 433.9 MB, free: 5.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3044, allocations: 3.938 kB / 433.9 MB, free: 5.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3044, allocations: 0 / 433.9 MB, free: 5.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3044, allocations: 0 / 433.9 MB, free: 5.465 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.0005462/0.3049, allocations: 365.3 kB / 434.3 MB, free: 5.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3049, allocations: 8.031 kB / 434.3 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.305, allocations: 12.89 kB / 434.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.3053, allocations: 196.2 kB / 434.5 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.3053, allocations: 384 / 434.5 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.3053, allocations: 4.375 kB / 434.5 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.3056, allocations: 117.5 kB / 434.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3056, allocations: 192 / 434.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3056, allocations: 3.938 kB / 434.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3056, allocations: 0 / 434.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.466e-05/0.3057, allocations: 19.92 kB / 434.6 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.3061, allocations: 261.8 kB / 434.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.3063, allocations: 142.2 kB / 435 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.989e-05/0.3064, allocations: 25.78 kB / 435.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.3064, allocations: 0 / 435.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.3064, allocations: 34.56 kB / 435.1 MB, free: 4.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3064, allocations: 0 / 435.1 MB, free: 4.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002419/0.3066, allocations: 77.56 kB / 435.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.3067, allocations: 77.11 kB / 435.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.3069, allocations: 136.5 kB / 435.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.3069, allocations: 25.7 kB / 435.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.821e-05/0.307, allocations: 88.12 kB / 435.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.13e-05/0.307, allocations: 3.984 kB / 435.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.307, allocations: 29.61 kB / 435.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3072, allocations: 315 kB / 435.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.672e-05/0.3072, allocations: 15.92 kB / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.353e-05/0.3073, allocations: 27.44 kB / 435.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.874e-05/0.3074, allocations: 47.36 kB / 435.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3074, allocations: 0 / 435.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001182/0.3075, allocations: 65.56 kB / 436 MB, free: 3.113 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3075, allocations: 6.969 kB / 436 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3075, allocations: 4 kB / 436 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3075, allocations: 0 / 436 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.181e-05/0.3075, allocations: 0 / 436 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.3075, allocations: 12.11 kB / 436 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.449e-05/0.3076, allocations: 3.938 kB / 436 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.3076, allocations: 4 kB / 436 MB, free: 3.086 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.0001047/0.3077, allocations: 121.7 kB / 436.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.39e-05/0.3078, allocations: 49.64 kB / 436.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.3078, allocations: 11.91 kB / 436.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3078, allocations: 336 / 436.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3078, allocations: 0 / 436.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3078, allocations: 0 / 436.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.308, allocations: 169.6 kB / 436.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.308, allocations: 4 kB / 436.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.288e-06/0.308, allocations: 3.984 kB / 436.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.308, allocations: 0 / 436.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.308, allocations: 7.922 kB / 436.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.308, allocations: 4 kB / 436.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3081, allocations: 3.938 kB / 436.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.3082, allocations: 168.3 kB / 436.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.198e-05/0.3083, allocations: 89.05 kB / 436.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.3083, allocations: 0 / 436.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.317e-05/0.3084, allocations: 4 kB / 436.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.3084, allocations: 4 kB / 436.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.3084, allocations: 3.984 kB / 436.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.146e-05/0.3085, allocations: 99.27 kB / 436.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3085, allocations: 0 / 436.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002186/0.3087, allocations: 8 kB / 436.7 MB, free: 2.242 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.0001271/0.3088, allocations: 103.2 kB / 436.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.309, allocations: 27.92 kB / 436.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.309, allocations: 0 / 436.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.734e-05/0.309, allocations: 7.938 kB / 436.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.3093, allocations: 26.62 kB / 436.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.3097, allocations: 188.4 kB / 437.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.3101, allocations: 0.6885 MB / 437.8 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.3101, allocations: 7.438 kB / 437.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3101, allocations: 0 / 437.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of Templates: time 0.002418/0.3126, allocations: 0.689 MB / 438.5 MB, free: 452 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.736419175751507]