Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001874/0.001874, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002298/0.002298, allocations: 213.9 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 230.5 MB / 258.1 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 63.89 kB / 379 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2373, allocations: 53.41 MB / 432.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002837/0.2401, allocations: 1.516 MB / 433.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003808/0.2405, allocations: 135.5 kB / 434 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.832e-05/0.2406, allocations: 4 kB / 434 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.922e-05/0.2406, allocations: 3.938 kB / 434 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.2407, allocations: 7.922 kB / 434 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.241, allocations: 35.91 kB / 434.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.174e-05/0.2411, allocations: 27.92 kB / 434.1 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.2412, allocations: 11.8 kB / 434.1 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.054e-05/0.2412, allocations: 11.92 kB / 434.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.242e-05/0.2412, allocations: 15.92 kB / 434.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.2413, allocations: 4 kB / 434.2 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-06/0.2413, allocations: 0 / 434.2 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/0.2413, allocations: 15.92 kB / 434.2 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.2413, allocations: 11.88 kB / 434.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.2414, allocations: 43.81 kB / 434.2 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2414, allocations: 0 / 434.2 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2415, allocations: 0 / 434.2 MB, free: 4.688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.2415, allocations: 4 kB / 434.2 MB, free: 4.684 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.0004201/0.2419, allocations: 284.9 kB / 434.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.2419, allocations: 11.98 kB / 434.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.242, allocations: 8.891 kB / 434.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.2422, allocations: 130.4 kB / 434.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.2422, allocations: 4.375 kB / 434.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.2422, allocations: 4.375 kB / 434.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.2424, allocations: 89.61 kB / 434.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.2425, allocations: 192 / 434.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.2425, allocations: 3.938 kB / 434.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2425, allocations: 0 / 434.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.292e-05/0.2425, allocations: 12 kB / 434.8 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.2428, allocations: 209.4 kB / 435 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.647e-05/0.2429, allocations: 37.22 kB / 435 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.617e-05/0.2429, allocations: 17.77 kB / 435 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.2429, allocations: 7.938 kB / 435 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.243, allocations: 38.5 kB / 435.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.243, allocations: 0 / 435.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001943/0.2432, allocations: 61.58 kB / 435.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.2432, allocations: 85.05 kB / 435.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.2434, allocations: 128.9 kB / 435.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.2434, allocations: 29.7 kB / 435.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.2434, allocations: 84.08 kB / 435.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.2434, allocations: 7.938 kB / 435.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.2435, allocations: 17.97 kB / 435.5 MB, free: 3.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2436, allocations: 318.8 kB / 435.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.961e-05/0.2436, allocations: 4 kB / 435.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.223e-05/0.2437, allocations: 21.7 kB / 435.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.441e-05/0.2437, allocations: 25.66 kB / 435.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2437, allocations: 0 / 435.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.717e-05/0.2438, allocations: 45.62 kB / 435.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2438, allocations: 6.938 kB / 435.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2438, allocations: 4 kB / 435.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.2438, allocations: 4 kB / 435.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-05/0.2439, allocations: 3.938 kB / 435.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.2439, allocations: 0 / 435.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.2439, allocations: 3.984 kB / 435.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.2439, allocations: 4 kB / 435.9 MB, free: 2.797 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 8.043e-05/0.244, allocations: 113.8 kB / 436 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.244, allocations: 45.59 kB / 436.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.2441, allocations: 11.41 kB / 436.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.2441, allocations: 4.031 kB / 436.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2441, allocations: 4 kB / 436.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2441, allocations: 0 / 436.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.2442, allocations: 113.3 kB / 436.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2442, allocations: 0 / 436.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.229e-06/0.2442, allocations: 0 / 436.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2442, allocations: 3.938 kB / 436.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.2442, allocations: 4 kB / 436.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.2442, allocations: 3.938 kB / 436.2 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2442, allocations: 0 / 436.2 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.2444, allocations: 160.3 kB / 436.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.2444, allocations: 19.88 kB / 436.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.2444, allocations: 4 kB / 436.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.335e-05/0.2445, allocations: 0 / 436.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.2445, allocations: 3.938 kB / 436.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.2445, allocations: 7.984 kB / 436.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.781e-05/0.2446, allocations: 99.27 kB / 436.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2446, allocations: 0 / 436.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002135/0.2448, allocations: 4 kB / 436.5 MB, free: 2.137 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.493e-05/0.2449, allocations: 99.28 kB / 436.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.245, allocations: 19.92 kB / 436.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.245, allocations: 0 / 436.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.344e-05/0.245, allocations: 4 kB / 436.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.2453, allocations: 27.83 kB / 436.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.2456, allocations: 168 kB / 436.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.28e-05/0.2457, allocations: 71.33 kB / 436.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.2457, allocations: 11.72 kB / 436.9 MB, free: 1.68 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2457, allocations: 4 kB / 436.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of Templates: time 0.001971/0.2477, allocations: 0.6193 MB / 437.5 MB, free: 1.062 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 6.755295117851347]