Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 92.62 kB / 20.95 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 153.5 kB / 24.25 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.02e-05/3.191e-05, allocations: 6.25 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003099/0.003131, allocations: 1.518 MB / 268.8 MB, free: 5.188 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004581/0.003589, allocations: 143.4 kB / 269 MB, free: 5.047 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.992e-05/0.003669, allocations: 0 / 269 MB, free: 5.047 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.298e-05/0.003722, allocations: 7.938 kB / 269 MB, free: 5.039 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.003845, allocations: 3.938 kB / 269 MB, free: 5.035 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.004091, allocations: 43.77 kB / 269 MB, free: 4.992 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.004203, allocations: 31.92 kB / 269.1 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.785e-05/0.004301, allocations: 11.97 kB / 269.1 MB, free: 4.949 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.556e-05/0.004366, allocations: 27.92 kB / 269.1 MB, free: 4.922 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.769e-05/0.004394, allocations: 0 / 269.1 MB, free: 4.922 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.004417, allocations: 4 kB / 269.1 MB, free: 4.918 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.004429, allocations: 4 kB / 269.1 MB, free: 4.914 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.004492, allocations: 15.92 kB / 269.1 MB, free: 4.898 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.004521, allocations: 11.98 kB / 269.1 MB, free: 4.887 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.004642, allocations: 39.83 kB / 269.2 MB, free: 4.848 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.004645, allocations: 0 / 269.2 MB, free: 4.848 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004646, allocations: 0 / 269.2 MB, free: 4.848 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.004651, allocations: 0 / 269.2 MB, free: 4.848 MB / 250.7 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.0004809/0.005132, allocations: 294 kB / 269.5 MB, free: 4.527 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.005169, allocations: 12.92 kB / 269.5 MB, free: 4.516 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.005215, allocations: 12.84 kB / 269.5 MB, free: 4.504 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.005481, allocations: 137.6 kB / 269.6 MB, free: 4.344 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.005498, allocations: 4.375 kB / 269.6 MB, free: 4.34 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.005515, allocations: 8.375 kB / 269.6 MB, free: 4.332 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.005798, allocations: 109.6 kB / 269.7 MB, free: 4.207 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.005808, allocations: 8.125 kB / 269.7 MB, free: 4.199 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.005816, allocations: 384 / 269.7 MB, free: 4.199 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.00582, allocations: 384 / 269.7 MB, free: 4.199 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.432e-05/0.005885, allocations: 19.92 kB / 269.8 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.006202, allocations: 201.5 kB / 270 MB, free: 3.949 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.006352, allocations: 57.14 kB / 270 MB, free: 3.875 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.06e-05/0.006422, allocations: 25.77 kB / 270 MB, free: 3.844 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.006442, allocations: 0 / 270 MB, free: 3.844 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.006477, allocations: 38.56 kB / 270.1 MB, free: 3.797 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.006478, allocations: 7.938 kB / 270.1 MB, free: 3.789 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002499/0.006728, allocations: 73.56 kB / 270.2 MB, free: 3.711 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.006802, allocations: 81.05 kB / 270.2 MB, free: 3.613 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.006945, allocations: 141.3 kB / 270.4 MB, free: 3.469 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.006964, allocations: 25.7 kB / 270.4 MB, free: 3.438 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.007034, allocations: 88.09 kB / 270.5 MB, free: 3.348 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.093e-06/0.007041, allocations: 0 / 270.5 MB, free: 3.348 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.007074, allocations: 13.72 kB / 270.5 MB, free: 3.328 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.007253, allocations: 322.8 kB / 270.8 MB, free: 3.004 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.897e-05/0.007281, allocations: 4.125 kB / 270.8 MB, free: 3 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.612e-05/0.007308, allocations: 4 kB / 270.8 MB, free: 2.996 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.757e-05/0.007355, allocations: 20.78 kB / 270.8 MB, free: 2.973 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007357, allocations: 0 / 270.8 MB, free: 2.973 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.796e-05/0.007445, allocations: 45.59 kB / 270.9 MB, free: 2.922 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.007458, allocations: 4 kB / 270.9 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.007465, allocations: 3.938 kB / 270.9 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.00748, allocations: 3.984 kB / 270.9 MB, free: 2.91 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.263e-06/0.007488, allocations: 4.094 kB / 270.9 MB, free: 2.906 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.007492, allocations: 4 kB / 270.9 MB, free: 2.902 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.014e-05/0.007512, allocations: 0 / 270.9 MB, free: 2.902 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.007516, allocations: 0 / 270.9 MB, free: 2.902 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001017/0.007618, allocations: 113.8 kB / 271 MB, free: 2.781 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-05/0.007694, allocations: 45.69 kB / 271.1 MB, free: 2.73 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.007734, allocations: 15.94 kB / 271.1 MB, free: 2.707 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.007736, allocations: 0 / 271.1 MB, free: 2.707 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.007742, allocations: 4 kB / 271.1 MB, free: 2.703 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.007747, allocations: 3.984 kB / 271.1 MB, free: 2.699 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.007905, allocations: 113.3 kB / 271.2 MB, free: 2.559 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.007906, allocations: 4 kB / 271.2 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.284e-06/0.007914, allocations: 3.938 kB / 271.2 MB, free: 2.551 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.007918, allocations: 4 kB / 271.2 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.007926, allocations: 4 kB / 271.2 MB, free: 2.543 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.00793, allocations: 3.938 kB / 271.2 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.00793, allocations: 0 / 271.2 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.008112, allocations: 156.4 kB / 271.4 MB, free: 2.367 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.008149, allocations: 15.94 kB / 271.4 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.008161, allocations: 0 / 271.4 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.626e-05/0.008228, allocations: 7.938 kB / 271.4 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.00826, allocations: 8.266 kB / 271.4 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.008265, allocations: 7.938 kB / 271.4 MB, free: 2.328 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.171e-05/0.008347, allocations: 99.27 kB / 271.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008347, allocations: 0 / 271.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002158/0.008563, allocations: 4 kB / 271.5 MB, free: 2.227 MB / 250.7 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.000114/0.008677, allocations: 95.25 kB / 271.6 MB, free: 2.125 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.008783, allocations: 23.97 kB / 271.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.008785, allocations: 0 / 271.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.634e-05/0.008811, allocations: 8.062 kB / 271.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.009129, allocations: 32.64 kB / 271.7 MB, free: 2.059 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.009455, allocations: 164.2 kB / 271.8 MB, free: 1.871 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.356e-05/0.009538, allocations: 71.33 kB / 271.9 MB, free: 1.781 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.443e-05/0.009552, allocations: 0 / 271.9 MB, free: 1.781 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.009578, allocations: 12.5 kB / 271.9 MB, free: 1.77 MB / 250.7 MB Notification: Performance of SimCode: time 4.4e-07/0.009578, allocations: 0 / 271.9 MB, free: 1.77 MB / 250.7 MB Notification: Performance of Templates: time 0.003163/0.01274, allocations: 0.5147 MB / 272.4 MB, free: 1.262 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_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.063327714102343]