Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001025/0.001025, allocations: 80.72 kB / 22.21 MB, free: 2.289 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.001113/0.001113, allocations: 147.3 kB / 25.59 MB, free: 8.906 MB / 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.8867/0.8867, allocations: 173.4 MB / 202.3 MB, free: 8.25 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 269.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.851e-05, allocations: 5.547 kB / 269.2 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002844/0.002873, allocations: 1.53 MB / 270.7 MB, free: 8.227 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003693/0.003242, allocations: 143.4 kB / 270.9 MB, free: 8.086 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.227e-05/0.003314, allocations: 1.25 kB / 270.9 MB, free: 8.086 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.068e-05/0.003365, allocations: 3.938 kB / 270.9 MB, free: 8.082 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.003491, allocations: 15.92 kB / 270.9 MB, free: 8.066 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.003704, allocations: 40.31 kB / 270.9 MB, free: 8.027 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.003813, allocations: 23.92 kB / 271 MB, free: 8.004 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.386e-05/0.003897, allocations: 4.688 kB / 271 MB, free: 8 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.079e-05/0.003948, allocations: 23.91 kB / 271 MB, free: 7.977 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.846e-05/0.003976, allocations: 9.578 kB / 271 MB, free: 7.969 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.003995, allocations: 4 kB / 271 MB, free: 7.965 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.796e-06/0.004004, allocations: 0 / 271 MB, free: 7.965 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.224e-05/0.004046, allocations: 7.938 kB / 271 MB, free: 7.957 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.004066, allocations: 8.781 kB / 271 MB, free: 7.949 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.824e-05/0.004164, allocations: 35.77 kB / 271 MB, free: 7.914 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004167, allocations: 5.094 kB / 271.1 MB, free: 7.91 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004167, allocations: 4 kB / 271.1 MB, free: 7.906 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.004171, allocations: 0 / 271.1 MB, free: 7.906 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.0003612/0.004532, allocations: 377.2 kB / 271.4 MB, free: 7.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.004565, allocations: 8.031 kB / 271.4 MB, free: 7.492 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.0046, allocations: 14.98 kB / 271.4 MB, free: 7.48 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.004767, allocations: 140.4 kB / 271.6 MB, free: 7.316 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.004783, allocations: 4.375 kB / 271.6 MB, free: 7.312 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-06/0.004791, allocations: 4.375 kB / 271.6 MB, free: 7.309 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.004962, allocations: 107.4 kB / 271.7 MB, free: 7.18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.004969, allocations: 192 / 271.7 MB, free: 7.18 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.004976, allocations: 4.375 kB / 271.7 MB, free: 7.176 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.004982, allocations: 1.031 kB / 271.7 MB, free: 7.176 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.222e-05/0.005004, allocations: 8.625 kB / 271.7 MB, free: 7.168 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002307/0.005235, allocations: 240.1 kB / 271.9 MB, free: 6.902 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.599e-05/0.005291, allocations: 54.75 kB / 272 MB, free: 6.824 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.928e-05/0.00531, allocations: 19.86 kB / 272 MB, free: 6.797 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.005324, allocations: 8.125 kB / 272 MB, free: 6.789 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.005346, allocations: 33.39 kB / 272.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.005348, allocations: 0 / 272.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001348/0.005482, allocations: 53.53 kB / 272.1 MB, free: 6.688 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.005527, allocations: 77.11 kB / 272.2 MB, free: 6.594 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.00564, allocations: 185.9 kB / 272.4 MB, free: 6.395 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.005652, allocations: 29.7 kB / 272.4 MB, free: 6.359 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.005707, allocations: 130.9 kB / 272.5 MB, free: 6.227 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.623e-06/0.005714, allocations: 0 / 272.5 MB, free: 6.227 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.005749, allocations: 31.56 kB / 272.6 MB, free: 6.188 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.00588, allocations: 496.1 kB / 273 MB, free: 5.691 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.064e-06/0.005887, allocations: 0 / 273 MB, free: 5.691 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-06/0.005893, allocations: 4 kB / 273 MB, free: 5.688 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.006e-05/0.005914, allocations: 11.62 kB / 273.1 MB, free: 5.672 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.005915, allocations: 0 / 273.1 MB, free: 5.672 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.915e-05/0.005974, allocations: 41.67 kB / 273.1 MB, free: 5.625 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.005986, allocations: 4 kB / 273.1 MB, free: 5.621 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.00599, allocations: 0 / 273.1 MB, free: 5.621 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.006, allocations: 3.938 kB / 273.1 MB, free: 5.617 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.127e-06/0.006009, allocations: 4.094 kB / 273.1 MB, free: 5.613 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-06/0.006011, allocations: 4 kB / 273.1 MB, free: 5.609 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.006034, allocations: 0 / 273.1 MB, free: 5.609 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.006038, allocations: 0 / 273.1 MB, free: 5.609 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 (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 7.206e-05/0.00611, allocations: 156.5 kB / 273.3 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.006161, allocations: 45.59 kB / 273.3 MB, free: 5.395 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.006189, allocations: 15.41 kB / 273.3 MB, free: 5.375 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.006193, allocations: 3.938 kB / 273.3 MB, free: 5.371 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.006195, allocations: 0 / 273.3 MB, free: 5.371 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.006198, allocations: 0 / 273.3 MB, free: 5.371 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.00633, allocations: 109.3 kB / 273.4 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.006332, allocations: 0 / 273.4 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-06/0.006339, allocations: 4 kB / 273.4 MB, free: 5.234 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.00634, allocations: 0 / 273.4 MB, free: 5.234 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.006346, allocations: 4 kB / 273.4 MB, free: 5.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.006348, allocations: 0 / 273.4 MB, free: 5.23 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.006349, allocations: 0 / 273.4 MB, free: 5.23 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.006456, allocations: 203.5 kB / 273.6 MB, free: 5.008 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.628e-05/0.006482, allocations: 8 kB / 273.6 MB, free: 5 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.006496, allocations: 0 / 273.6 MB, free: 5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.492e-05/0.006551, allocations: 4.031 kB / 273.7 MB, free: 4.996 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.006577, allocations: 11.98 kB / 273.7 MB, free: 4.984 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.006582, allocations: 3.938 kB / 273.7 MB, free: 4.98 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.48e-05/0.006637, allocations: 142 kB / 273.8 MB, free: 4.844 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006637, allocations: 0 / 273.8 MB, free: 4.844 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00024/0.006877, allocations: 4 kB / 273.8 MB, free: 4.84 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: 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.342e-05/0.00696, allocations: 95.25 kB / 273.9 MB, free: 4.738 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.966e-05/0.00702, allocations: 15.62 kB / 273.9 MB, free: 4.719 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.007021, allocations: 4.062 kB / 273.9 MB, free: 4.715 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.346e-05/0.007035, allocations: 11.69 kB / 273.9 MB, free: 4.699 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.007329, allocations: 16.3 kB / 274 MB, free: 4.68 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002443/0.007574, allocations: 137.5 kB / 274.1 MB, free: 4.516 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.227e-05/0.007616, allocations: 63.28 kB / 274.1 MB, free: 4.434 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.59e-05/0.007632, allocations: 0 / 274.1 MB, free: 4.434 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.007686, allocations: 74.2 kB / 274.2 MB, free: 4.359 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.007687, allocations: 0 / 274.2 MB, free: 4.359 MB / 250.7 MB Notification: Performance of Templates: time 0.002432/0.01012, allocations: 0.5222 MB / 274.7 MB, free: 3.848 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.555609948001802]