Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001043/0.001043, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001006/0.001006, allocations: 139.7 kB / 24.97 MB, free: 8.363 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.9319/0.9319, allocations: 173.4 MB / 201.5 MB, free: 9.277 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 268.1 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/2.985e-05, allocations: 6.25 kB / 268.1 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.005815/0.005845, allocations: 1.534 MB / 269.6 MB, free: 5.152 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003833/0.006228, allocations: 135.5 kB / 269.7 MB, free: 5.02 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.158e-05/0.006309, allocations: 3.938 kB / 269.7 MB, free: 5.016 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.815e-05/0.006358, allocations: 4 kB / 269.7 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.006487, allocations: 7.922 kB / 269.8 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.006712, allocations: 39.84 kB / 269.8 MB, free: 4.965 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.434e-05/0.006807, allocations: 27.86 kB / 269.8 MB, free: 4.938 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.00691, allocations: 7.984 kB / 269.8 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.889e-05/0.006959, allocations: 15.98 kB / 269.8 MB, free: 4.914 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.908e-05/0.006988, allocations: 11.92 kB / 269.9 MB, free: 4.902 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.00701, allocations: 4 kB / 269.9 MB, free: 4.898 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.007019, allocations: 0 / 269.9 MB, free: 4.898 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.007063, allocations: 8 kB / 269.9 MB, free: 4.891 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.007087, allocations: 7.938 kB / 269.9 MB, free: 4.883 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.007191, allocations: 39.7 kB / 269.9 MB, free: 4.844 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.007194, allocations: 0 / 269.9 MB, free: 4.844 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.007195, allocations: 8 kB / 269.9 MB, free: 4.836 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.0072, allocations: 0 / 269.9 MB, free: 4.836 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003922/0.007593, allocations: 376.5 kB / 270.3 MB, free: 4.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.00763, allocations: 8.922 kB / 270.3 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.007672, allocations: 12.89 kB / 270.3 MB, free: 4.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003239/0.01091, allocations: 140.4 kB / 270.4 MB, free: 4.246 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.01094, allocations: 8.375 kB / 270.5 MB, free: 4.238 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.01095, allocations: 384 / 270.5 MB, free: 4.238 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.01119, allocations: 113.6 kB / 270.6 MB, free: 4.102 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.0112, allocations: 192 / 270.6 MB, free: 4.102 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.01121, allocations: 384 / 270.6 MB, free: 4.102 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.01122, allocations: 384 / 270.6 MB, free: 4.102 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.413e-05/0.01124, allocations: 15.88 kB / 270.6 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/0.01152, allocations: 263.5 kB / 270.8 MB, free: 3.789 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.061e-05/0.01158, allocations: 54.06 kB / 270.9 MB, free: 3.711 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.01161, allocations: 19.38 kB / 270.9 MB, free: 3.684 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.01162, allocations: 4.125 kB / 270.9 MB, free: 3.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.01164, allocations: 37.39 kB / 270.9 MB, free: 3.633 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.01165, allocations: 0 / 270.9 MB, free: 3.633 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001636/0.01181, allocations: 53.52 kB / 271 MB, free: 3.574 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.01186, allocations: 81.11 kB / 271.1 MB, free: 3.477 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.01199, allocations: 189.3 kB / 271.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.012, allocations: 25.7 kB / 271.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.01206, allocations: 130.9 kB / 271.4 MB, free: 3.113 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.053e-05/0.01207, allocations: 4 kB / 271.4 MB, free: 3.109 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.0121, allocations: 19.33 kB / 271.4 MB, free: 3.082 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.01224, allocations: 0.4925 MB / 271.9 MB, free: 2.578 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.01225, allocations: 4 kB / 271.9 MB, free: 2.574 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.575e-06/0.01226, allocations: 0 / 271.9 MB, free: 2.574 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.782e-05/0.01229, allocations: 15.62 kB / 272 MB, free: 2.555 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01229, allocations: 0 / 272 MB, free: 2.555 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.069e-05/0.01235, allocations: 29.7 kB / 272 MB, free: 2.52 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.01237, allocations: 8 kB / 272 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01238, allocations: 3.938 kB / 272 MB, free: 2.508 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.01239, allocations: 0 / 272 MB, free: 2.508 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.645e-05/0.01241, allocations: 0 / 272 MB, free: 2.508 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.01242, allocations: 8.078 kB / 272 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.251e-05/0.01245, allocations: 3.984 kB / 272 MB, free: 2.496 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.01245, allocations: 4 kB / 272 MB, free: 2.492 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 (sample1.u) * 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 8.203e-05/0.01254, allocations: 156.6 kB / 272.2 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.01259, allocations: 41.59 kB / 272.2 MB, free: 2.281 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.01263, allocations: 15.39 kB / 272.2 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.01264, allocations: 4 kB / 272.2 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.01264, allocations: 4 kB / 272.2 MB, free: 2.254 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.01265, allocations: 0 / 272.2 MB, free: 2.254 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.01278, allocations: 124.7 kB / 272.3 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01278, allocations: 0 / 272.3 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.6e-06/0.01279, allocations: 0 / 272.3 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01279, allocations: 0 / 272.3 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.0128, allocations: 7.938 kB / 272.4 MB, free: 2.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.0128, allocations: 3.938 kB / 272.4 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.0128, allocations: 0 / 272.4 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.01292, allocations: 203.5 kB / 272.6 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/0.01295, allocations: 4 kB / 272.6 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.01296, allocations: 8 kB / 272.6 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.01302, allocations: 11.95 kB / 272.6 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.01306, allocations: 0 / 272.6 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.01306, allocations: 4 kB / 272.6 MB, free: 1.836 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.827e-05/0.01312, allocations: 139.1 kB / 272.7 MB, free: 1.699 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01312, allocations: 0 / 272.7 MB, free: 1.699 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002142/0.01333, allocations: 4 kB / 272.7 MB, free: 1.695 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: 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.781e-05/0.01343, allocations: 95.25 kB / 272.8 MB, free: 1.594 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.414e-05/0.01351, allocations: 15.62 kB / 272.8 MB, free: 1.574 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01351, allocations: 0 / 272.8 MB, free: 1.574 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.718e-05/0.01352, allocations: 23.73 kB / 272.9 MB, free: 1.547 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003369/0.01689, allocations: 8.312 kB / 272.9 MB, free: 1.535 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.01722, allocations: 145.3 kB / 273 MB, free: 1.363 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.411e-05/0.01726, allocations: 59.34 kB / 273.1 MB, free: 1.285 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.616e-05/0.01728, allocations: 0 / 273.1 MB, free: 1.285 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.01731, allocations: 12.5 kB / 273.1 MB, free: 1.27 MB / 250.7 MB Notification: Performance of SimCode: time 1.312e-06/0.01731, allocations: 0 / 273.1 MB, free: 1.27 MB / 250.7 MB Notification: Performance of Templates: time 0.005517/0.02283, allocations: 499.2 kB / 273.6 MB, free: 0.7891 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6247218830976635]