Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.0009745/0.0009745, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.001007/0.001007, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 1.038/1.038, allocations: 177 MB / 204.8 MB, free: 5.586 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.195e-05, allocations: 5.125 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002021/0.002043, allocations: 1.568 MB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003547/0.002398, allocations: 147.4 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.629e-05/0.002474, allocations: 0 / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.102e-05/0.002526, allocations: 3.938 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.002676, allocations: 15.91 kB / 274.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.002893, allocations: 35.84 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.469e-05/0.002987, allocations: 31.86 kB / 274.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.003102, allocations: 11.98 kB / 274.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.614e-05/0.003148, allocations: 15.98 kB / 274.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.618e-05/0.003174, allocations: 7.938 kB / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.003198, allocations: 8 kB / 274.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.072e-05/0.003208, allocations: 4 kB / 274.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.003259, allocations: 15.97 kB / 274.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.003286, allocations: 7.938 kB / 274.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.003396, allocations: 39.77 kB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.003398, allocations: 0 / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.003399, allocations: 0 / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.003404, allocations: 0 / 274.8 MB, free: 15.54 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003892/0.003793, allocations: 392.4 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.003834, allocations: 11.98 kB / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.003881, allocations: 16.89 kB / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.004062, allocations: 132.5 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.004082, allocations: 4.375 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.004093, allocations: 8.312 kB / 275.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.004313, allocations: 125.6 kB / 275.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.00432, allocations: 192 / 275.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.004328, allocations: 4.375 kB / 275.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.004335, allocations: 4.375 kB / 275.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.318e-05/0.004358, allocations: 15.91 kB / 275.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.004679, allocations: 267.4 kB / 275.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.0048, allocations: 66.17 kB / 275.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.004834, allocations: 27.38 kB / 275.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.004852, allocations: 7.984 kB / 275.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.004869, allocations: 33.39 kB / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.00487, allocations: 0 / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001462/0.005016, allocations: 65.64 kB / 276 MB, free: 14.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.00506, allocations: 85.11 kB / 276.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.317e-05/0.005153, allocations: 189.1 kB / 276.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.005162, allocations: 25.7 kB / 276.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.005213, allocations: 130.9 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.998e-06/0.005223, allocations: 0 / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.005251, allocations: 27.33 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.005377, allocations: 0.4884 MB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.005388, allocations: 0 / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-06/0.005393, allocations: 0 / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.635e-05/0.005429, allocations: 19.69 kB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.005432, allocations: 0 / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.24e-05/0.005475, allocations: 29.7 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.005489, allocations: 4 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.005496, allocations: 7.938 kB / 277 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.005511, allocations: 0 / 277 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.167e-05/0.005522, allocations: 4 kB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.005529, allocations: 3.984 kB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.589e-05/0.005555, allocations: 0 / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.005561, allocations: 0 / 277 MB, free: 13.12 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 (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 7.35e-05/0.005634, allocations: 160.6 kB / 277.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.005681, allocations: 53.58 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.005711, allocations: 11.88 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.005713, allocations: 0 / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.005718, allocations: 4 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.005722, allocations: 0 / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.005826, allocations: 128.6 kB / 277.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.005827, allocations: 0 / 277.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-06/0.005831, allocations: 0 / 277.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.005835, allocations: 4 kB / 277.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.005844, allocations: 7.984 kB / 277.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.005846, allocations: 7.938 kB / 277.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005847, allocations: 0 / 277.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.005967, allocations: 215.5 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.00599, allocations: 7.953 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.006001, allocations: 0 / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.434e-05/0.006035, allocations: 11.92 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.006071, allocations: 288 / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.006074, allocations: 0 / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.227e-05/0.006126, allocations: 143.2 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006126, allocations: 0 / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001364/0.006263, allocations: 4 kB / 277.7 MB, free: 12.3 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: 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 7.096e-05/0.006333, allocations: 99.25 kB / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.91e-05/0.006403, allocations: 19.61 kB / 277.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.006404, allocations: 0 / 277.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.106e-05/0.006415, allocations: 11.69 kB / 277.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.006638, allocations: 25.53 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002396/0.006878, allocations: 156.8 kB / 278 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.901e-05/0.006917, allocations: 63.47 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.452e-05/0.006931, allocations: 4 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.006956, allocations: 8.5 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.006957, allocations: 0 / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of Templates: time 0.002199/0.009156, allocations: 0.5434 MB / 278.6 MB, free: 11.31 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7742988406680524]