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.001567/0.001567, allocations: 85.28 kB / 20.68 MB, free: 0.8906 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.001509/0.001509, allocations: 168.8 kB / 23.96 MB, free: 3.91 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.499/1.499, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.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 1.693e-06/1.693e-06, allocations: 3.938 kB / 325.1 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.377e-05, allocations: 3.344 kB / 325.1 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002426/0.00245, allocations: 1.521 MB / 326.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003871/0.002837, allocations: 139.2 kB / 326.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.659e-05/0.002903, allocations: 9.062 kB / 326.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.791e-05/0.002951, allocations: 1.828 kB / 326.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.003064, allocations: 10.84 kB / 326.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.003278, allocations: 35.52 kB / 326.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.372e-05/0.003361, allocations: 26.86 kB / 326.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.392e-05/0.003445, allocations: 5.469 kB / 326.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.556e-05/0.003491, allocations: 16.64 kB / 326.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.386e-05/0.003525, allocations: 8.125 kB / 326.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.003542, allocations: 2.281 kB / 326.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.003553, allocations: 2.25 kB / 326.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.003598, allocations: 13.02 kB / 326.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.003628, allocations: 17.67 kB / 326.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.003734, allocations: 41.38 kB / 326.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.003737, allocations: 0 / 326.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.003737, allocations: 0 / 326.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.003742, allocations: 0 / 326.9 MB, free: 15.35 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.0004281/0.00417, allocations: 286.4 kB / 327.2 MB, free: 15.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.004203, allocations: 9.062 kB / 327.2 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.004235, allocations: 4.312 kB / 327.2 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.004436, allocations: 128.9 kB / 327.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.004461, allocations: 9.594 kB / 327.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.004471, allocations: 3.266 kB / 327.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.004689, allocations: 84.58 kB / 327.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.0047, allocations: 4.172 kB / 327.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.004709, allocations: 2.141 kB / 327.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.004713, allocations: 384 / 327.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.96e-05/0.004772, allocations: 21.06 kB / 327.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.005064, allocations: 202.4 kB / 327.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.5e-05/0.005149, allocations: 49.83 kB / 327.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.741e-05/0.005187, allocations: 14.12 kB / 327.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.005205, allocations: 0.5625 kB / 327.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.005238, allocations: 34.31 kB / 327.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.005239, allocations: 0 / 327.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002056/0.005445, allocations: 60.52 kB / 327.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.005515, allocations: 82.23 kB / 327.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.005642, allocations: 128.2 kB / 328 MB, free: 14.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.00566, allocations: 29.7 kB / 328 MB, free: 14.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/0.005714, allocations: 87.12 kB / 328.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.493e-06/0.00572, allocations: 3.938 kB / 328.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.005755, allocations: 22.28 kB / 328.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.005899, allocations: 313.2 kB / 328.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.75e-05/0.005927, allocations: 3.828 kB / 328.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.828e-05/0.005955, allocations: 3.469 kB / 328.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.657e-05/0.006012, allocations: 20.56 kB / 328.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006013, allocations: 4.969 kB / 328.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.602e-05/0.006099, allocations: 40.67 kB / 328.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.006112, allocations: 6.359 kB / 328.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.006121, allocations: 7.938 kB / 328.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.006133, allocations: 0 / 328.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-05/0.006146, allocations: 1.719 kB / 328.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.00615, allocations: 0 / 328.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/0.006173, allocations: 2.781 kB / 328.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.006178, allocations: 0 / 328.5 MB, free: 13.73 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.673e-05/0.006274, allocations: 116.6 kB / 328.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.396e-05/0.006348, allocations: 45.06 kB / 328.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.59e-05/0.006394, allocations: 20.02 kB / 328.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.006397, allocations: 1.281 kB / 328.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.006401, allocations: 0 / 328.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.006405, allocations: 2.016 kB / 328.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.00656, allocations: 108.8 kB / 328.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.006563, allocations: 1.703 kB / 328.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.971e-06/0.006569, allocations: 0 / 328.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.006571, allocations: 1.875 kB / 328.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.006579, allocations: 1.5 kB / 328.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.006583, allocations: 8.625 kB / 328.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.006585, allocations: 0.6875 kB / 328.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.006755, allocations: 152.8 kB / 329 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.006793, allocations: 15.39 kB / 329 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.006808, allocations: 2.297 kB / 329 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.78e-05/0.006866, allocations: 5.406 kB / 329 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.006894, allocations: 2.344 kB / 329 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.006897, allocations: 0 / 329 MB, free: 13.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.084e-05/0.006988, allocations: 110.9 kB / 329.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.006988, allocations: 1.188 kB / 329.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.007211, allocations: 6.469 kB / 329.1 MB, free: 13.17 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.0001182/0.00733, allocations: 95.42 kB / 329.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.007447, allocations: 15.61 kB / 329.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.007449, allocations: 0 / 329.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.015e-05/0.007479, allocations: 8.859 kB / 329.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.007796, allocations: 18 kB / 329.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.008109, allocations: 140.8 kB / 329.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.008212, allocations: 81.25 kB / 329.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.824e-05/0.00823, allocations: 1.219 kB / 329.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.008258, allocations: 9.875 kB / 329.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.008258, allocations: 0 / 329.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of Templates: time 0.003063/0.01132, allocations: 485.2 kB / 330 MB, free: 12.76 MB / 302.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/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_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: 4.285271294414997]