Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 211 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.773 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 47.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2538, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002793/0.2566, allocations: 1.504 MB / 433.8 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003864/0.257, allocations: 127.6 kB / 434 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.257, allocations: 7.938 kB / 434 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.313e-05/0.2571, allocations: 7.875 kB / 434 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.2572, allocations: 3.984 kB / 434 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.2574, allocations: 39.84 kB / 434 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.317e-05/0.2575, allocations: 31.92 kB / 434.1 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.688e-05/0.2576, allocations: 15.78 kB / 434.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.534e-05/0.2576, allocations: 15.92 kB / 434.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.414e-05/0.2576, allocations: 3.938 kB / 434.1 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.2577, allocations: 4 kB / 434.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-06/0.2577, allocations: 0 / 434.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.2577, allocations: 15.92 kB / 434.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.2577, allocations: 11.88 kB / 434.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.2578, allocations: 43.81 kB / 434.2 MB, free: 4.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2578, allocations: 0 / 434.2 MB, free: 4.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2578, allocations: 4 kB / 434.2 MB, free: 4.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2578, allocations: 0 / 434.2 MB, free: 4.898 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.0004149/0.2583, allocations: 281 kB / 434.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2583, allocations: 19.95 kB / 434.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.2583, allocations: 4.891 kB / 434.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.2585, allocations: 134.4 kB / 434.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.2586, allocations: 4.375 kB / 434.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.2586, allocations: 4.375 kB / 434.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.2588, allocations: 89.61 kB / 434.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2588, allocations: 192 / 434.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.2588, allocations: 7.938 kB / 434.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2588, allocations: 0 / 434.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.103e-05/0.2589, allocations: 8 kB / 434.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.2592, allocations: 205.5 kB / 434.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.679e-05/0.2592, allocations: 45.16 kB / 435 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.822e-05/0.2593, allocations: 17.77 kB / 435 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.2593, allocations: 3.938 kB / 435 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.2593, allocations: 38.56 kB / 435 MB, free: 3.918 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2593, allocations: 3.938 kB / 435 MB, free: 3.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001981/0.2595, allocations: 53.64 kB / 435.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/0.2596, allocations: 85.05 kB / 435.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.2597, allocations: 132.4 kB / 435.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.2597, allocations: 25.7 kB / 435.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.2598, allocations: 88.12 kB / 435.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.997e-06/0.2598, allocations: 7.891 kB / 435.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.2598, allocations: 17.97 kB / 435.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.26, allocations: 314.8 kB / 435.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.983e-05/0.26, allocations: 8 kB / 435.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.965e-05/0.26, allocations: 17.7 kB / 435.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.89e-05/0.2601, allocations: 21.72 kB / 435.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2601, allocations: 0 / 435.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.354e-05/0.2602, allocations: 49.56 kB / 435.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2602, allocations: 8.125 kB / 435.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2602, allocations: 4 kB / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2602, allocations: 0 / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.38e-05/0.2602, allocations: 0 / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2602, allocations: 3.984 kB / 435.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.732e-05/0.2603, allocations: 8 kB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.2603, allocations: 0 / 435.8 MB, free: 3.012 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.121e-05/0.2604, allocations: 113.8 kB / 436 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/0.2604, allocations: 45.59 kB / 436 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.2605, allocations: 11.41 kB / 436 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.2605, allocations: 8.031 kB / 436 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2605, allocations: 0 / 436 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2605, allocations: 0 / 436 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.2606, allocations: 117.2 kB / 436.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2606, allocations: 0 / 436.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-06/0.2606, allocations: 0 / 436.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2606, allocations: 7.938 kB / 436.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.2606, allocations: 0 / 436.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2606, allocations: 4 kB / 436.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2606, allocations: 0 / 436.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.2608, allocations: 160.3 kB / 436.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.2608, allocations: 27.86 kB / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.2609, allocations: 0 / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.386e-05/0.2609, allocations: 0 / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.2609, allocations: 3.984 kB / 436.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.2609, allocations: 4 kB / 436.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.273e-05/0.261, allocations: 99.27 kB / 436.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.261, allocations: 0 / 436.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.2612, allocations: 7.938 kB / 436.4 MB, free: 2.344 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.18e-05/0.2613, allocations: 99.28 kB / 436.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.2614, allocations: 23.92 kB / 436.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2614, allocations: 0 / 436.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.492e-05/0.2615, allocations: 4 kB / 436.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.2618, allocations: 18.53 kB / 436.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.2621, allocations: 172 kB / 436.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.98e-05/0.2621, allocations: 71.33 kB / 436.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.2622, allocations: 11.72 kB / 436.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2622, allocations: 4 kB / 436.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of Templates: time 0.002073/0.2642, allocations: 0.6165 MB / 437.4 MB, free: 1.273 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.895137960091233]