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.000824/0.000824, allocations: 84 kB / 21.43 MB, free: 3.129 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.004339/0.004339, allocations: 145.3 kB / 24.68 MB, free: 9.422 MB / 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 0.8187/0.8187, allocations: 173.4 MB / 201.2 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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.463e-06/1.463e-06, allocations: 0 / 319.7 MB, free: 5.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.975e-05, allocations: 6.219 kB / 319.7 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.001649/0.001669, allocations: 1.492 MB / 321.2 MB, free: 4.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002827/0.001952, allocations: 139.5 kB / 321.3 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.752e-05/0.002019, allocations: 7.938 kB / 321.3 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.726e-05/0.002057, allocations: 7.938 kB / 321.3 MB, free: 4.078 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.002171, allocations: 11.88 kB / 321.3 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.002354, allocations: 43.83 kB / 321.4 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.582e-05/0.00244, allocations: 43.78 kB / 321.4 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.692e-05/0.002527, allocations: 8 kB / 321.4 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.72e-05/0.002564, allocations: 15.98 kB / 321.4 MB, free: 3.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.683e-05/0.002591, allocations: 15.92 kB / 321.5 MB, free: 3.941 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.002613, allocations: 0 / 321.5 MB, free: 3.941 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.775e-06/0.00262, allocations: 4 kB / 321.5 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.002662, allocations: 15.97 kB / 321.5 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.002685, allocations: 11.94 kB / 321.5 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.59e-05/0.002781, allocations: 43.81 kB / 321.5 MB, free: 3.867 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.002782, allocations: 0 / 321.5 MB, free: 3.867 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.002783, allocations: 0 / 321.5 MB, free: 3.867 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.002787, allocations: 0 / 321.5 MB, free: 3.867 MB / 282.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.0003135/0.0031, allocations: 294.1 kB / 321.8 MB, free: 3.547 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.003132, allocations: 8.922 kB / 321.8 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.003164, allocations: 12.84 kB / 321.8 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.003314, allocations: 129.7 kB / 322 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.003332, allocations: 4.375 kB / 322 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.00334, allocations: 8.375 kB / 322 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.003539, allocations: 105.6 kB / 322.1 MB, free: 3.242 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.003546, allocations: 4.125 kB / 322.1 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.003554, allocations: 4.359 kB / 322.1 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.003559, allocations: 4.375 kB / 322.1 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.463e-05/0.003594, allocations: 19.88 kB / 322.1 MB, free: 3.211 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/0.003807, allocations: 209.4 kB / 322.3 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.21e-05/0.0039, allocations: 61.12 kB / 322.4 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.059e-05/0.00393, allocations: 25.77 kB / 322.4 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.003947, allocations: 4 kB / 322.4 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.003961, allocations: 30.56 kB / 322.4 MB, free: 2.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.003962, allocations: 0 / 322.4 MB, free: 2.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001501/0.004112, allocations: 73.52 kB / 322.5 MB, free: 2.742 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.004153, allocations: 85.09 kB / 322.6 MB, free: 2.641 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.35e-05/0.004227, allocations: 133.2 kB / 322.7 MB, free: 2.504 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.138e-06/0.004236, allocations: 29.7 kB / 322.8 MB, free: 2.469 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.004271, allocations: 88.09 kB / 322.8 MB, free: 2.379 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.364e-06/0.004278, allocations: 7.938 kB / 322.9 MB, free: 2.371 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.004299, allocations: 9.719 kB / 322.9 MB, free: 2.355 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.548e-05/0.004374, allocations: 322.8 kB / 323.2 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.004388, allocations: 0 / 323.2 MB, free: 2.031 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-06/0.004396, allocations: 4 kB / 323.2 MB, free: 2.027 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.809e-05/0.004424, allocations: 24.78 kB / 323.2 MB, free: 2 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.004426, allocations: 0 / 323.2 MB, free: 2 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.214e-05/0.004468, allocations: 41.72 kB / 323.2 MB, free: 1.953 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.004478, allocations: 4 kB / 323.2 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.004483, allocations: 3.938 kB / 323.3 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.004493, allocations: 4 kB / 323.3 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.262e-06/0.004499, allocations: 0 / 323.3 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.004504, allocations: 3.984 kB / 323.3 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.14e-05/0.004516, allocations: 3.984 kB / 323.3 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.00452, allocations: 0 / 323.3 MB, free: 1.934 MB / 282.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 5.154e-05/0.004572, allocations: 113.8 kB / 323.4 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.004613, allocations: 53.66 kB / 323.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.00464, allocations: 15.94 kB / 323.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.004641, allocations: 0 / 323.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.004645, allocations: 0 / 323.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.004648, allocations: 4 kB / 323.4 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.16e-05/0.00473, allocations: 117.2 kB / 323.6 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.004732, allocations: 3.984 kB / 323.6 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-06/0.004735, allocations: 0 / 323.6 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.004736, allocations: 0 / 323.6 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.004744, allocations: 8 kB / 323.6 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.004745, allocations: 3.938 kB / 323.6 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.004746, allocations: 4 kB / 323.6 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.297e-05/0.004829, allocations: 156.3 kB / 323.7 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.004853, allocations: 19.94 kB / 323.8 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-06/0.004862, allocations: 0 / 323.8 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.894e-05/0.004891, allocations: 3.938 kB / 323.8 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.004916, allocations: 4 kB / 323.8 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.00492, allocations: 3.984 kB / 323.8 MB, free: 1.359 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.12e-05/0.004961, allocations: 103.3 kB / 323.9 MB, free: 1.258 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004961, allocations: 0 / 323.9 MB, free: 1.258 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001317/0.005093, allocations: 4 kB / 323.9 MB, free: 1.254 MB / 282.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 6.289e-05/0.005156, allocations: 95.25 kB / 324 MB, free: 1.152 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.956e-05/0.005225, allocations: 24.2 kB / 324 MB, free: 1.129 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.005226, allocations: 0 / 324 MB, free: 1.129 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.204e-05/0.005238, allocations: 4 kB / 324 MB, free: 1.125 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.005455, allocations: 32.08 kB / 324 MB, free: 1.094 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.005694, allocations: 182.2 kB / 324.2 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.114e-05/0.005745, allocations: 79.45 kB / 324.3 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.955e-05/0.005765, allocations: 8.5 kB / 324.3 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of SimCode: time 4.7e-07/0.005765, allocations: 0 / 324.3 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of Templates: time 0.001413/0.007179, allocations: 0.6603 MB / 324.9 MB, free: 124 kB / 282.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/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: 3.8842005264014006]