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.00155/0.00155, allocations: 89.45 kB / 20.68 MB, free: 1.023 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.001446/0.001446, allocations: 157.5 kB / 23.95 MB, free: 4.152 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.526/1.526, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.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 2.565e-06/2.565e-06, allocations: 1.5 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.094e-05, allocations: 2.281 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002893/0.002924, allocations: 1.51 MB / 326.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004009/0.003325, allocations: 135.6 kB / 326.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.153e-05/0.003407, allocations: 5.438 kB / 326.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.701e-05/0.003454, allocations: 5.109 kB / 326.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.003571, allocations: 3.594 kB / 326.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.0038, allocations: 43.16 kB / 326.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.735e-05/0.003897, allocations: 26.45 kB / 326.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.332e-05/0.003991, allocations: 9.969 kB / 326.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.015e-05/0.004041, allocations: 15.59 kB / 326.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.587e-05/0.004077, allocations: 13.45 kB / 326.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.004096, allocations: 6.5 kB / 326.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/0.004106, allocations: 1.344 kB / 326.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.329e-05/0.004159, allocations: 13.56 kB / 326.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.004188, allocations: 5.312 kB / 326.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.004305, allocations: 41.05 kB / 326.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.004307, allocations: 0 / 326.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.41e-07/0.004308, allocations: 0 / 326.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.004311, allocations: 1.375 kB / 326.8 MB, free: 15.29 MB / 302.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.0004321/0.004744, allocations: 284.3 kB / 327.1 MB, free: 15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.004779, allocations: 13.39 kB / 327.1 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.004814, allocations: 7.969 kB / 327.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.005037, allocations: 143.4 kB / 327.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.005056, allocations: 1.438 kB / 327.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.005064, allocations: 2.406 kB / 327.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.005302, allocations: 90.27 kB / 327.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.005314, allocations: 4.172 kB / 327.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.005324, allocations: 5.625 kB / 327.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.005328, allocations: 384 / 327.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.981e-05/0.005388, allocations: 20.66 kB / 327.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.005715, allocations: 201.9 kB / 327.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.127e-05/0.005806, allocations: 43.75 kB / 327.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/0.005846, allocations: 15.25 kB / 327.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.005866, allocations: 1.312 kB / 327.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.005912, allocations: 36.58 kB / 327.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.005913, allocations: 0.875 kB / 327.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002283/0.006141, allocations: 62.23 kB / 327.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.006213, allocations: 83.8 kB / 327.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.006375, allocations: 131.1 kB / 328 MB, free: 14.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.006394, allocations: 25.7 kB / 328 MB, free: 14.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.006454, allocations: 82.84 kB / 328.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.889e-06/0.006464, allocations: 1.266 kB / 328.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.006506, allocations: 20.89 kB / 328.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.006678, allocations: 314.6 kB / 328.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.912e-05/0.006707, allocations: 7.125 kB / 328.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.2e-05/0.006729, allocations: 7.797 kB / 328.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.225e-05/0.006781, allocations: 16.33 kB / 328.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.006783, allocations: 0 / 328.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.2e-05/0.006865, allocations: 38.19 kB / 328.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.006884, allocations: 5.531 kB / 328.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.974e-06/0.006892, allocations: 3.938 kB / 328.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.006906, allocations: 0.7031 kB / 328.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.784e-05/0.006923, allocations: 5 kB / 328.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.00693, allocations: 3.938 kB / 328.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.311e-05/0.006953, allocations: 1.688 kB / 328.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.006958, allocations: 5.719 kB / 328.5 MB, free: 13.65 MB / 302.1 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 9.309e-05/0.007052, allocations: 115.8 kB / 328.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.007125, allocations: 41.2 kB / 328.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.007158, allocations: 16.05 kB / 328.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.00716, allocations: 1.156 kB / 328.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.007164, allocations: 0 / 328.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.007168, allocations: 1.688 kB / 328.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.007317, allocations: 113.4 kB / 328.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.007319, allocations: 1.125 kB / 328.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.812e-06/0.007325, allocations: 5.672 kB / 328.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.007327, allocations: 4.031 kB / 328.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.007335, allocations: 2.25 kB / 328.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.007339, allocations: 5.062 kB / 328.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.00734, allocations: 0 / 328.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.007512, allocations: 152.3 kB / 328.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.007543, allocations: 11.83 kB / 329 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.007556, allocations: 2.062 kB / 329 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.884e-05/0.007615, allocations: 9.875 kB / 329 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.007645, allocations: 5.969 kB / 329 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.007648, allocations: 5.094 kB / 329 MB, free: 13.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.638e-05/0.007724, allocations: 105.5 kB / 329.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.007724, allocations: 0 / 329.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000215/0.007939, allocations: 3.219 kB / 329.1 MB, free: 13.09 MB / 302.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 0.0001014/0.008041, allocations: 99.73 kB / 329.2 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.906e-05/0.00814, allocations: 15.17 kB / 329.2 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.008141, allocations: 0 / 329.2 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.797e-05/0.008169, allocations: 4.109 kB / 329.2 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.008476, allocations: 17.22 kB / 329.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.008772, allocations: 150.5 kB / 329.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.994e-05/0.008852, allocations: 68.81 kB / 329.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.412e-05/0.008876, allocations: 0.9844 kB / 329.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.008905, allocations: 12.09 kB / 329.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.008905, allocations: 0 / 329.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of Templates: time 0.003117/0.01202, allocations: 481.1 kB / 329.9 MB, free: 12.68 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/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: 4.329940903931856]