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.001774/0.001774, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002064/0.002064, allocations: 211.4 kB / 24.48 MB, free: 3.977 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.721/1.721, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.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 0.002558/0.002558, allocations: 47.86 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4422, allocations: 53.36 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003298/0.4455, allocations: 1.516 MB / 433.8 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005009/0.446, allocations: 131.5 kB / 434 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.751e-05/0.4461, allocations: 3.938 kB / 434 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.963e-05/0.4462, allocations: 0 / 434 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.4463, allocations: 15.94 kB / 434 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.4466, allocations: 43.77 kB / 434 MB, free: 5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.4467, allocations: 23.94 kB / 434.1 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.4468, allocations: 11.78 kB / 434.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.591e-05/0.4469, allocations: 11.94 kB / 434.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.872e-05/0.4469, allocations: 15.92 kB / 434.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.4469, allocations: 0 / 434.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.4469, allocations: 4 kB / 434.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.447, allocations: 15.92 kB / 434.1 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.447, allocations: 11.86 kB / 434.1 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.4471, allocations: 35.84 kB / 434.2 MB, free: 4.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.4471, allocations: 4 kB / 434.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4471, allocations: 0 / 434.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.4471, allocations: 0 / 434.2 MB, free: 4.871 MB / 334.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.000479/0.4476, allocations: 288.9 kB / 434.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.4477, allocations: 8.031 kB / 434.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.4477, allocations: 8.891 kB / 434.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.448, allocations: 126.4 kB / 434.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.448, allocations: 12.31 kB / 434.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.448, allocations: 384 / 434.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.4483, allocations: 85.67 kB / 434.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4483, allocations: 192 / 434.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.4483, allocations: 3.938 kB / 434.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.4483, allocations: 7.938 kB / 434.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.046e-05/0.4484, allocations: 11.98 kB / 434.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.4488, allocations: 205.5 kB / 434.9 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.4489, allocations: 45.16 kB / 435 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/0.4489, allocations: 17.78 kB / 435 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.449, allocations: 3.938 kB / 435 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.449, allocations: 34.56 kB / 435 MB, free: 3.895 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.449, allocations: 4 kB / 435 MB, free: 3.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002614/0.4493, allocations: 65.5 kB / 435.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.807e-05/0.4493, allocations: 77.11 kB / 435.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.4495, allocations: 132.2 kB / 435.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.4495, allocations: 25.7 kB / 435.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.4496, allocations: 88.08 kB / 435.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.162e-05/0.4496, allocations: 8.203 kB / 435.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/0.4497, allocations: 17.72 kB / 435.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.4498, allocations: 314.8 kB / 435.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.994e-05/0.4499, allocations: 8 kB / 435.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.738e-05/0.4499, allocations: 13.72 kB / 435.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.43e-05/0.45, allocations: 25.7 kB / 435.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.45, allocations: 3.938 kB / 435.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001283/0.4501, allocations: 53.62 kB / 435.8 MB, free: 3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.4502, allocations: 8 kB / 435.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.4502, allocations: 0 / 435.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4502, allocations: 0 / 435.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.856e-05/0.4502, allocations: 0 / 435.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.4502, allocations: 0 / 435.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.472e-05/0.4502, allocations: 4 kB / 435.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.4502, allocations: 0 / 435.8 MB, free: 2.988 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.000127/0.4504, allocations: 121.8 kB / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.074e-05/0.4505, allocations: 49.59 kB / 436 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.4505, allocations: 15.45 kB / 436 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4505, allocations: 0 / 436 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4505, allocations: 0 / 436 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4505, allocations: 4 kB / 436 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.4507, allocations: 113.3 kB / 436.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4507, allocations: 0 / 436.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.847e-05/0.4507, allocations: 8 kB / 436.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.4507, allocations: 3.938 kB / 436.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.4507, allocations: 0 / 436.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4507, allocations: 0 / 436.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4507, allocations: 0 / 436.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.4509, allocations: 156.3 kB / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.451, allocations: 23.88 kB / 436.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.451, allocations: 0 / 436.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.054e-05/0.4511, allocations: 3.938 kB / 436.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.4511, allocations: 4 kB / 436.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.4511, allocations: 0 / 436.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.4512, allocations: 103.3 kB / 436.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4512, allocations: 0 / 436.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003955/0.4516, allocations: 3.984 kB / 436.4 MB, free: 2.32 MB / 334.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.0001342/0.4518, allocations: 99.28 kB / 436.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.4519, allocations: 19.94 kB / 436.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4519, allocations: 0 / 436.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.626e-05/0.4519, allocations: 7.984 kB / 436.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.4524, allocations: 21.41 kB / 436.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.4528, allocations: 138.4 kB / 436.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.4529, allocations: 67.62 kB / 436.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.882e-05/0.453, allocations: 15.92 kB / 436.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.453, allocations: 11.44 kB / 436.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.453, allocations: 0 / 436.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of Templates: time 0.00398/0.457, allocations: 498.3 kB / 437.3 MB, free: 1.418 MB / 334.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/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: 6.055979726996156]