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.SampleClocked.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.001597/0.001597, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001788/0.001788, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.646/1.646, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [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.001953/0.001953, allocations: 68.77 kB / 379 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3379, allocations: 53.37 MB / 432.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002812/0.3407, allocations: 1.519 MB / 433.9 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003853/0.3411, allocations: 139.5 kB / 434.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.419e-05/0.3412, allocations: 4 kB / 434.1 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.548e-05/0.3413, allocations: 7.922 kB / 434.1 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.3414, allocations: 7.922 kB / 434.1 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.3416, allocations: 31.92 kB / 434.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.3417, allocations: 23.92 kB / 434.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.453e-05/0.3418, allocations: 15.97 kB / 434.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.183e-05/0.3418, allocations: 15.94 kB / 434.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.704e-05/0.3419, allocations: 15.92 kB / 434.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.3419, allocations: 4 kB / 434.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.375e-06/0.3419, allocations: 7.875 kB / 434.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.271e-05/0.342, allocations: 4 kB / 434.2 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.342, allocations: 23.81 kB / 434.2 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.3421, allocations: 45.58 kB / 434.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3421, allocations: 0 / 434.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3421, allocations: 0 / 434.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.3421, allocations: 0 / 434.3 MB, free: 5.113 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.0004455/0.3426, allocations: 285.8 kB / 434.5 MB, free: 4.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3426, allocations: 8.031 kB / 434.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.3426, allocations: 8.891 kB / 434.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.3428, allocations: 126.4 kB / 434.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.3429, allocations: 4.375 kB / 434.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.3429, allocations: 384 / 434.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.3431, allocations: 93.61 kB / 434.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3431, allocations: 192 / 434.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3431, allocations: 3.938 kB / 434.8 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.3431, allocations: 4 kB / 434.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.233e-05/0.3432, allocations: 11.92 kB / 434.8 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.3435, allocations: 232.9 kB / 435 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.889e-05/0.3436, allocations: 49.09 kB / 435.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/0.3437, allocations: 13.78 kB / 435.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.3437, allocations: 3.984 kB / 435.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.3437, allocations: 34.56 kB / 435.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3437, allocations: 4 kB / 435.1 MB, free: 4.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002128/0.3439, allocations: 57.58 kB / 435.2 MB, free: 4.035 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.344, allocations: 81.11 kB / 435.3 MB, free: 3.938 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.3441, allocations: 133.8 kB / 435.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.3441, allocations: 25.7 kB / 435.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.3442, allocations: 88.12 kB / 435.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.044e-05/0.3442, allocations: 8.141 kB / 435.5 MB, free: 3.668 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.3442, allocations: 25.7 kB / 435.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3443, allocations: 314.8 kB / 435.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.466e-05/0.3444, allocations: 0 / 435.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.3444, allocations: 25.64 kB / 435.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.783e-05/0.3445, allocations: 17.78 kB / 435.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3445, allocations: 4 kB / 435.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.286e-05/0.3445, allocations: 53.56 kB / 435.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3446, allocations: 10.66 kB / 436 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.3446, allocations: 0 / 436 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3446, allocations: 0 / 436 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.562e-05/0.3446, allocations: 0 / 436 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3446, allocations: 4 kB / 436 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.292e-05/0.3446, allocations: 0 / 436 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.3446, allocations: 0 / 436 MB, free: 3.191 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.753e-05/0.3447, allocations: 125.8 kB / 436.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.3448, allocations: 41.59 kB / 436.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/0.3448, allocations: 19.41 kB / 436.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3448, allocations: 3.984 kB / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3448, allocations: 0 / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3448, allocations: 0 / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.345, allocations: 132.7 kB / 436.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.345, allocations: 4 kB / 436.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-06/0.345, allocations: 0 / 436.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.345, allocations: 4.031 kB / 436.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.345, allocations: 4 kB / 436.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.345, allocations: 3.984 kB / 436.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.345, allocations: 4 kB / 436.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.3452, allocations: 152.2 kB / 436.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.3452, allocations: 11.95 kB / 436.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.3452, allocations: 8.031 kB / 436.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.449e-05/0.3453, allocations: 3.984 kB / 436.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.3453, allocations: 0 / 436.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.3453, allocations: 4 kB / 436.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.409e-05/0.3454, allocations: 101.8 kB / 436.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3454, allocations: 0 / 436.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002048/0.3456, allocations: 7.938 kB / 436.6 MB, free: 2.492 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 9.588e-05/0.3457, allocations: 99.19 kB / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.3458, allocations: 19.98 kB / 436.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3458, allocations: 3.938 kB / 436.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.192e-05/0.3458, allocations: 7.938 kB / 436.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.3461, allocations: 27.89 kB / 436.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.3464, allocations: 134.5 kB / 436.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.3467, allocations: 0.6887 MB / 437.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.886e-05/0.3467, allocations: 4 kB / 437.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.3468, allocations: 7.438 kB / 437.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3468, allocations: 0 / 437.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of Templates: time 0.00293/0.3497, allocations: 449.7 kB / 438 MB, free: 1.012 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.951881548389792]