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.002627/0.002627, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.00271/0.00271, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 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.628/1.628, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.252e-06/1.252e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/2.947e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002934/0.002964, allocations: 1.522 MB / 273.8 MB, free: 296 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004119/0.003376, allocations: 139.5 kB / 274 MB, free: 156 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.386e-05/0.00344, allocations: 4 kB / 274 MB, free: 152 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.921e-05/0.003489, allocations: 3.938 kB / 274 MB, free: 148 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.003605, allocations: 0 / 274 MB, free: 148 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.00383, allocations: 43.72 kB / 274 MB, free: 104 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.00393, allocations: 23.92 kB / 274.1 MB, free: 80 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.004039, allocations: 19.97 kB / 274.1 MB, free: 60 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.683e-05/0.004095, allocations: 19.92 kB / 274.1 MB, free: 40 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.566e-05/0.004121, allocations: 0 / 274.1 MB, free: 40 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.004143, allocations: 4 kB / 274.1 MB, free: 36 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.968e-06/0.004153, allocations: 0 / 274.1 MB, free: 36 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.48e-05/0.004208, allocations: 15.92 kB / 274.1 MB, free: 20 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.004231, allocations: 4 kB / 274.1 MB, free: 16 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.004361, allocations: 43.81 kB / 274.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.004363, allocations: 0 / 274.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.004364, allocations: 0 / 274.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.004368, allocations: 4 kB / 274.2 MB, free: 15.97 MB / 266.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.0005014/0.004869, allocations: 384.1 kB / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.004904, allocations: 8.031 kB / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.004949, allocations: 8.938 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.005163, allocations: 151.2 kB / 274.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.005184, allocations: 4.375 kB / 274.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.944e-06/0.005192, allocations: 4.375 kB / 274.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.005425, allocations: 96.92 kB / 274.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.005432, allocations: 4.188 kB / 274.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.005439, allocations: 384 / 274.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.005443, allocations: 4.375 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.953e-05/0.005503, allocations: 15.94 kB / 274.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.005866, allocations: 263.5 kB / 275.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.005987, allocations: 58.12 kB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.006038, allocations: 27.42 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.006056, allocations: 0 / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.006092, allocations: 37.39 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.006093, allocations: 7.938 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002161/0.006309, allocations: 57.58 kB / 275.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.00638, allocations: 85.05 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.006552, allocations: 193.9 kB / 275.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.00657, allocations: 25.7 kB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.083e-05/0.006661, allocations: 134.9 kB / 275.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.324e-06/0.006668, allocations: 0 / 275.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.006715, allocations: 27.31 kB / 275.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002666/0.006981, allocations: 496.4 kB / 276.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.828e-05/0.00701, allocations: 8 kB / 276.2 MB, free: 13.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.845e-05/0.007028, allocations: 4 kB / 276.2 MB, free: 13.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.543e-05/0.007083, allocations: 19.67 kB / 276.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.007085, allocations: 0 / 276.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.783e-05/0.007173, allocations: 41.64 kB / 276.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.007191, allocations: 7.984 kB / 276.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.007198, allocations: 3.938 kB / 276.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.007211, allocations: 0 / 276.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.732e-05/0.007228, allocations: 8.078 kB / 276.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.007235, allocations: 7.984 kB / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.059e-05/0.007256, allocations: 0 / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.00726, allocations: 3.938 kB / 276.3 MB, free: 13.57 MB / 266.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 0.0001141/0.007374, allocations: 160.6 kB / 276.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.155e-05/0.007436, allocations: 33.66 kB / 276.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.007469, allocations: 19.39 kB / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.007474, allocations: 4 kB / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.007477, allocations: 0 / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.007484, allocations: 8.031 kB / 276.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.007652, allocations: 124.6 kB / 276.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.007654, allocations: 0 / 276.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.598e-06/0.007663, allocations: 7.938 kB / 276.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.007665, allocations: 0 / 276.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.00767, allocations: 0 / 276.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.007674, allocations: 3.938 kB / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.007675, allocations: 0 / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004613/0.008136, allocations: 207.6 kB / 276.9 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.008171, allocations: 15.94 kB / 276.9 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.008183, allocations: 4.031 kB / 276.9 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.457e-05/0.008238, allocations: 7.938 kB / 276.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.00827, allocations: 3.984 kB / 276.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.008273, allocations: 0 / 276.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.778e-05/0.008371, allocations: 145.6 kB / 277 MB, free: 12.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008371, allocations: 0 / 277 MB, free: 12.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002004/0.008572, allocations: 4 kB / 277 MB, free: 12.76 MB / 266.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 0.0001297/0.008701, allocations: 99.25 kB / 277.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.008819, allocations: 23.67 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.008821, allocations: 0 / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.659e-05/0.008858, allocations: 15.69 kB / 277.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.009162, allocations: 16.19 kB / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.009502, allocations: 157.4 kB / 277.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.48e-05/0.009587, allocations: 67.34 kB / 277.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.684e-05/0.009604, allocations: 0 / 277.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.00965, allocations: 8.5 kB / 277.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of SimCode: time 6.02e-07/0.009651, allocations: 4.219 kB / 277.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of Templates: time 0.00309/0.01274, allocations: 486.9 kB / 277.9 MB, free: 11.84 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 240] 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.50331208400894]