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.0009438/0.0009438, allocations: 84.41 kB / 22.21 MB, free: 2.281 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.0009526/0.0009526, allocations: 168.6 kB / 25.61 MB, free: 8.914 MB / 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 0.9318/0.9318, allocations: 177.1 MB / 206 MB, free: 4.508 MB / 186.7 MB " [Timeout remaining time 179] 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.784e-06/1.784e-06, allocations: 0 / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.776e-05/3.955e-05, allocations: 5.984 kB / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002463/0.002502, allocations: 1.531 MB / 275.7 MB, free: 2.887 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004182/0.002921, allocations: 143.4 kB / 275.9 MB, free: 2.746 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.003032, allocations: 9.219 kB / 275.9 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.973e-05/0.003102, allocations: 0 / 275.9 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.003271, allocations: 11.86 kB / 275.9 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.003476, allocations: 36.66 kB / 275.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.003576, allocations: 23.92 kB / 275.9 MB, free: 2.668 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.511e-05/0.003671, allocations: 8.906 kB / 276 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.294e-05/0.003724, allocations: 19.92 kB / 276 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.997e-05/0.003754, allocations: 7.969 kB / 276 MB, free: 2.633 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.003774, allocations: 4.5 kB / 276 MB, free: 2.629 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.003787, allocations: 4.5 kB / 276 MB, free: 2.625 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.003833, allocations: 8.812 kB / 276 MB, free: 2.617 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.003853, allocations: 7.938 kB / 276 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.003963, allocations: 43.77 kB / 276.1 MB, free: 2.566 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003965, allocations: 0.625 kB / 276.1 MB, free: 2.566 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003966, allocations: 2.094 kB / 276.1 MB, free: 2.566 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.003972, allocations: 0 / 276.1 MB, free: 2.566 MB / 250.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.0003949/0.004367, allocations: 380.4 kB / 276.4 MB, free: 2.156 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.004407, allocations: 12.02 kB / 276.4 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.004439, allocations: 4.938 kB / 276.4 MB, free: 2.141 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.004596, allocations: 142.4 kB / 276.6 MB, free: 1.977 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.004614, allocations: 4.375 kB / 276.6 MB, free: 1.973 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.004622, allocations: 384 / 276.6 MB, free: 1.973 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.004791, allocations: 106.2 kB / 276.7 MB, free: 1.844 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.0048, allocations: 8.188 kB / 276.7 MB, free: 1.836 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.004808, allocations: 384 / 276.7 MB, free: 1.836 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.004813, allocations: 384 / 276.7 MB, free: 1.836 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.54e-05/0.004828, allocations: 11.88 kB / 276.7 MB, free: 1.824 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.005054, allocations: 236.1 kB / 276.9 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.242e-05/0.005107, allocations: 62.05 kB / 277 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/0.005125, allocations: 19.5 kB / 277 MB, free: 1.449 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.005138, allocations: 0 / 277 MB, free: 1.449 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.00516, allocations: 33.39 kB / 277.1 MB, free: 1.406 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 6.42e-07/0.005161, allocations: 0 / 277.1 MB, free: 1.406 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001293/0.00529, allocations: 53.53 kB / 277.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.005341, allocations: 85.09 kB / 277.2 MB, free: 1.246 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.441e-05/0.005435, allocations: 185 kB / 277.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.005444, allocations: 25.7 kB / 277.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.005497, allocations: 134.9 kB / 277.5 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.572e-06/0.005504, allocations: 3.938 kB / 277.5 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.005531, allocations: 23.33 kB / 277.6 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.005661, allocations: 496.1 kB / 278 MB, free: 360 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.005672, allocations: 4 kB / 278 MB, free: 356 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-06/0.005677, allocations: 8.188 kB / 278 MB, free: 348 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.187e-05/0.005699, allocations: 7.688 kB / 278.1 MB, free: 336 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.005702, allocations: 4 kB / 278.1 MB, free: 332 kB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.368e-05/0.005746, allocations: 37.69 kB / 278.1 MB, free: 288 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.005759, allocations: 4 kB / 278.1 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.005764, allocations: 0 / 278.1 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.005779, allocations: 3.938 kB / 278.1 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.331e-05/0.005792, allocations: 4 kB / 278.1 MB, free: 276 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.005795, allocations: 0 / 278.1 MB, free: 276 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.005814, allocations: 4.094 kB / 278.1 MB, free: 272 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.005819, allocations: 0 / 278.1 MB, free: 272 kB / 250.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 8.502e-05/0.005904, allocations: 160.5 kB / 278.3 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.00594, allocations: 37.64 kB / 278.3 MB, free: 56 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.00597, allocations: 11.47 kB / 278.3 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.005973, allocations: 3.938 kB / 278.3 MB, free: 40 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.005975, allocations: 0 / 278.3 MB, free: 40 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.005979, allocations: 0 / 278.3 MB, free: 40 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.006097, allocations: 105.2 kB / 278.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.006098, allocations: 0 / 278.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-06/0.006102, allocations: 4.031 kB / 278.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.006104, allocations: 4 kB / 278.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-06/0.006107, allocations: 0 / 278.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.006109, allocations: 4 kB / 278.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.00611, allocations: 0 / 278.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.819e-05/0.006208, allocations: 203.5 kB / 278.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.006231, allocations: 11.98 kB / 278.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-06/0.00624, allocations: 0 / 278.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.103e-05/0.006271, allocations: 3.984 kB / 278.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.006296, allocations: 4 kB / 278.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.0063, allocations: 7.969 kB / 278.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.296e-05/0.006353, allocations: 147.1 kB / 278.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006353, allocations: 0 / 278.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001304/0.006483, allocations: 3.938 kB / 278.8 MB, free: 15.5 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 8.019e-05/0.006564, allocations: 95.25 kB / 278.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.744e-05/0.006631, allocations: 15.62 kB / 278.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.006632, allocations: 0 / 278.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.552e-05/0.006648, allocations: 11.69 kB / 278.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.00688, allocations: 20.42 kB / 278.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/0.007111, allocations: 133.6 kB / 279.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.753e-05/0.007148, allocations: 67.14 kB / 279.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.26e-05/0.007161, allocations: 0 / 279.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.007207, allocations: 78.19 kB / 279.2 MB, free: 15.01 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.007207, allocations: 3.938 kB / 279.2 MB, free: 15.01 MB / 266.7 MB Notification: Performance of Templates: time 0.002139/0.009346, allocations: 0.5164 MB / 279.7 MB, free: 14.5 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6825630837120116]