Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001079/0.001079, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 156.9 kB / 24.99 MB, free: 8.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9997/0.9997, allocations: 177 MB / 205.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 273 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.157e-05, allocations: 6.312 kB / 273 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002088/0.002109, allocations: 1.544 MB / 274.5 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000405/0.002514, allocations: 143.4 kB / 274.7 MB, free: 80 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.4e-05/0.002608, allocations: 3.938 kB / 274.7 MB, free: 76 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.656e-05/0.002665, allocations: 7.922 kB / 274.7 MB, free: 68 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.002824, allocations: 11.94 kB / 274.7 MB, free: 56 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.003044, allocations: 31.84 kB / 274.7 MB, free: 24 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.003145, allocations: 27.97 kB / 274.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.631e-05/0.003242, allocations: 11.94 kB / 274.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.398e-05/0.003286, allocations: 15.92 kB / 274.8 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.602e-05/0.003312, allocations: 7.984 kB / 274.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.003332, allocations: 0 / 274.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.386e-06/0.003341, allocations: 4 kB / 274.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.003385, allocations: 11.94 kB / 274.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.003406, allocations: 15.92 kB / 274.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.168e-05/0.003498, allocations: 31.84 kB / 274.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.0035, allocations: 0 / 274.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.5e-07/0.003501, allocations: 0 / 274.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.003505, allocations: 0 / 274.8 MB, free: 15.9 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.0003612/0.003866, allocations: 388.4 kB / 275.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.003904, allocations: 15.98 kB / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.003943, allocations: 8.891 kB / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.004108, allocations: 132.5 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.004126, allocations: 384 / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.004135, allocations: 8.375 kB / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.004336, allocations: 113.6 kB / 275.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.004343, allocations: 192 / 275.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.004351, allocations: 384 / 275.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.004359, allocations: 4.375 kB / 275.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.738e-05/0.004377, allocations: 7.875 kB / 275.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.004635, allocations: 267.5 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.379e-05/0.004689, allocations: 54.12 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.046e-05/0.004709, allocations: 19.38 kB / 275.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.004726, allocations: 0 / 275.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.004751, allocations: 41.44 kB / 275.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.004752, allocations: 0 / 275.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001393/0.004891, allocations: 53.53 kB / 275.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.004935, allocations: 77.11 kB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.899e-05/0.005034, allocations: 189.1 kB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.005044, allocations: 29.7 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.00509, allocations: 126.9 kB / 276.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.458e-06/0.0051, allocations: 8.188 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.005128, allocations: 31.36 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.005241, allocations: 492.1 kB / 276.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-06/0.00525, allocations: 7.938 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-06/0.005255, allocations: 0 / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.893e-05/0.005274, allocations: 11.69 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005276, allocations: 0 / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.608e-05/0.005312, allocations: 37.69 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.005324, allocations: 6.656 kB / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.005329, allocations: 7.875 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.005342, allocations: 4.094 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.235e-05/0.005354, allocations: 4 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.005358, allocations: 0 / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.005374, allocations: 3.938 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-06/0.005378, allocations: 0 / 277 MB, free: 13.54 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 6.348e-05/0.005441, allocations: 156.6 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.005473, allocations: 37.66 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.005499, allocations: 15.39 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.005501, allocations: 0 / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.005504, allocations: 4.031 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.005506, allocations: 0 / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.603e-05/0.005602, allocations: 124.6 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.005604, allocations: 4 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-06/0.005607, allocations: 0 / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.005608, allocations: 0 / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.005614, allocations: 0 / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.005616, allocations: 3.938 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005617, allocations: 4 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.94e-05/0.005706, allocations: 203.5 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.119e-05/0.005727, allocations: 11.97 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.005738, allocations: 8 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.323e-05/0.005771, allocations: 7.938 kB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.005797, allocations: 0 / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.005799, allocations: 0 / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.649e-05/0.005846, allocations: 143.1 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005846, allocations: 0 / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001406/0.005986, allocations: 8 kB / 277.7 MB, free: 12.75 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 6.671e-05/0.006053, allocations: 99.23 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.368e-05/0.006117, allocations: 19.62 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.006118, allocations: 0 / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.699e-06/0.006127, allocations: 7.688 kB / 277.8 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.0002262/0.006354, allocations: 17.67 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.006588, allocations: 149.4 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.171e-05/0.006619, allocations: 59.3 kB / 278 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.358e-05/0.006633, allocations: 3.984 kB / 278 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.006655, allocations: 12.44 kB / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.006655, allocations: 4.219 kB / 278 MB, free: 12.31 MB / 266.7 MB Notification: Performance of Templates: time 0.001986/0.008641, allocations: 484.3 kB / 278.5 MB, free: 11.84 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.894535862840712]