Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9629/0.9629, allocations: 173.4 MB / 201.1 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 3.938 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.694e-05, allocations: 6.25 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002188/0.002215, allocations: 1.553 MB / 269.5 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003618/0.002576, allocations: 147.4 kB / 269.7 MB, free: 4.719 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.635e-05/0.002673, allocations: 0 / 269.7 MB, free: 4.719 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.589e-05/0.002729, allocations: 3.938 kB / 269.7 MB, free: 4.715 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.002871, allocations: 11.92 kB / 269.7 MB, free: 4.703 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.003097, allocations: 35.84 kB / 269.7 MB, free: 4.668 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.066e-05/0.003188, allocations: 35.86 kB / 269.8 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.916e-05/0.003287, allocations: 11.98 kB / 269.8 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.726e-05/0.003344, allocations: 11.98 kB / 269.8 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.289e-05/0.003377, allocations: 15.91 kB / 269.8 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.003399, allocations: 8 kB / 269.8 MB, free: 4.586 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.00341, allocations: 4 kB / 269.8 MB, free: 4.582 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.557e-05/0.003466, allocations: 11.94 kB / 269.8 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.003494, allocations: 8 kB / 269.8 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.003675, allocations: 35.77 kB / 269.9 MB, free: 4.527 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.003677, allocations: 0 / 269.9 MB, free: 4.527 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.003678, allocations: 0 / 269.9 MB, free: 4.527 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.003683, allocations: 0 / 269.9 MB, free: 4.527 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004028/0.004086, allocations: 400.3 kB / 270.3 MB, free: 4.098 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.004123, allocations: 8.922 kB / 270.3 MB, free: 4.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.004162, allocations: 12.89 kB / 270.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.004332, allocations: 132.6 kB / 270.4 MB, free: 3.922 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.004352, allocations: 384 / 270.4 MB, free: 3.922 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.004365, allocations: 4.375 kB / 270.4 MB, free: 3.918 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.00461, allocations: 129.5 kB / 270.6 MB, free: 3.766 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.004621, allocations: 192 / 270.6 MB, free: 3.766 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.00463, allocations: 384 / 270.6 MB, free: 3.766 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.004638, allocations: 8.375 kB / 270.6 MB, free: 3.758 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.215e-05/0.00466, allocations: 11.92 kB / 270.6 MB, free: 3.746 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.004927, allocations: 275.3 kB / 270.8 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.005033, allocations: 70.16 kB / 270.9 MB, free: 3.344 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.005066, allocations: 23.42 kB / 270.9 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.005085, allocations: 7.938 kB / 270.9 MB, free: 3.305 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.005106, allocations: 33.39 kB / 271 MB, free: 3.262 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.005107, allocations: 0 / 271 MB, free: 3.262 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001567/0.005264, allocations: 65.56 kB / 271 MB, free: 3.191 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.005304, allocations: 81.23 kB / 271.1 MB, free: 3.094 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.005397, allocations: 193.4 kB / 271.3 MB, free: 2.891 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.005405, allocations: 29.7 kB / 271.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.005449, allocations: 126.9 kB / 271.5 MB, free: 2.727 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.464e-06/0.005457, allocations: 0 / 271.5 MB, free: 2.727 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.005485, allocations: 27.36 kB / 271.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002347/0.005719, allocations: 492.1 kB / 272 MB, free: 2.199 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.092e-05/0.00573, allocations: 4 kB / 272 MB, free: 2.195 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.032e-06/0.005736, allocations: 0 / 272 MB, free: 2.195 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.005761, allocations: 19.62 kB / 272 MB, free: 2.172 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005762, allocations: 4.062 kB / 272 MB, free: 2.168 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.249e-05/0.005805, allocations: 33.66 kB / 272 MB, free: 2.129 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.00582, allocations: 10.75 kB / 272 MB, free: 2.121 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.005826, allocations: 11.92 kB / 272.1 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.005842, allocations: 0 / 272.1 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.008e-05/0.005852, allocations: 0 / 272.1 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.005857, allocations: 0 / 272.1 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.405e-05/0.005881, allocations: 0 / 272.1 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.005885, allocations: 0 / 272.1 MB, free: 2.109 MB / 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 (step.y) * 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 6.485e-05/0.00595, allocations: 160.6 kB / 272.2 MB, free: 1.941 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.005999, allocations: 53.58 kB / 272.3 MB, free: 1.883 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.006032, allocations: 11.94 kB / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.006033, allocations: 0 / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.006038, allocations: 4 kB / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.006041, allocations: 0 / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.6e-05/0.006137, allocations: 120.6 kB / 272.4 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.006139, allocations: 4 kB / 272.4 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.983e-06/0.006146, allocations: 3.984 kB / 272.4 MB, free: 1.699 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.006149, allocations: 4 kB / 272.4 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.006155, allocations: 4 kB / 272.4 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.006157, allocations: 7.938 kB / 272.4 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.006158, allocations: 0 / 272.4 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.872e-05/0.006256, allocations: 211.5 kB / 272.6 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.00628, allocations: 4 kB / 272.6 MB, free: 1.449 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.006291, allocations: 7.984 kB / 272.6 MB, free: 1.441 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.937e-05/0.00633, allocations: 7.938 kB / 272.6 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.006359, allocations: 0 / 272.6 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.006363, allocations: 288 / 272.6 MB, free: 1.434 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.062e-05/0.006414, allocations: 139.2 kB / 272.8 MB, free: 1.297 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006414, allocations: 0 / 272.8 MB, free: 1.297 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001497/0.006563, allocations: 4 kB / 272.8 MB, free: 1.293 MB / 250.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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.562e-05/0.006649, allocations: 99.25 kB / 272.9 MB, free: 1.188 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.243e-05/0.006732, allocations: 23.67 kB / 272.9 MB, free: 1.16 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.006733, allocations: 0 / 272.9 MB, free: 1.16 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.147e-05/0.006745, allocations: 11.62 kB / 272.9 MB, free: 1.145 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.007, allocations: 28.75 kB / 272.9 MB, free: 1.113 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.007291, allocations: 148.8 kB / 273.1 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.936e-05/0.00734, allocations: 63.47 kB / 273.1 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.621e-05/0.007357, allocations: 8.188 kB / 273.2 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.007393, allocations: 8.5 kB / 273.2 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of SimCode: time 9.81e-07/0.007394, allocations: 0 / 273.2 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of Templates: time 0.002302/0.009695, allocations: 0.5158 MB / 273.7 MB, free: 336 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.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.895015263929963]