Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.001865/0.001865, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.001945/0.001945, allocations: 160.8 kB / 24.27 MB, free: 156 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.558/1.558, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.887e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.005457/0.005486, allocations: 2.025 MB / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003757/0.009243, allocations: 1.219 MB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.009404, allocations: 7.938 kB / 275.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008844/0.01029, allocations: 151.4 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006913/0.01098, allocations: 171.1 kB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009995/0.01198, allocations: 211.2 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005116/0.01249, allocations: 235.3 kB / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.01264, allocations: 32.56 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.01293, allocations: 127.6 kB / 276.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.01314, allocations: 83.77 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.004e-05/0.01319, allocations: 12 kB / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.01343, allocations: 67.83 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.01356, allocations: 55.77 kB / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.01369, allocations: 51.84 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000608/0.0143, allocations: 255.1 kB / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.0143, allocations: 8 kB / 276.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.0143, allocations: 0 / 276.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.01431, allocations: 3.938 kB / 276.9 MB, free: 13.09 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001343/0.01565, allocations: 0.5982 MB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.01571, allocations: 11.98 kB / 277.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.01586, allocations: 44.75 kB / 277.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005846/0.01644, allocations: 235.5 kB / 277.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.01648, allocations: 12.38 kB / 277.8 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.01652, allocations: 12.38 kB / 277.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008446/0.01736, allocations: 310.4 kB / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.01737, allocations: 192 / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.0174, allocations: 8.375 kB / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-06/0.01741, allocations: 3.938 kB / 278.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.01763, allocations: 59.89 kB / 278.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000812/0.01844, allocations: 394.9 kB / 278.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/0.01896, allocations: 193.4 kB / 278.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.01918, allocations: 79.05 kB / 278.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.46e-05/0.01923, allocations: 15.92 kB / 278.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004803/0.01971, allocations: 80.98 kB / 278.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.984e-06/0.01971, allocations: 0 / 278.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007679/0.02048, allocations: 233.4 kB / 279.1 MB, free: 10.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.02061, allocations: 114.8 kB / 279.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005483/0.02116, allocations: 348.3 kB / 279.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.0212, allocations: 29.7 kB / 279.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.02139, allocations: 179.3 kB / 279.8 MB, free: 9.926 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.02145, allocations: 35.8 kB / 279.8 MB, free: 9.891 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.02156, allocations: 47.36 kB / 279.9 MB, free: 9.836 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003897/0.02195, allocations: 0.5157 MB / 280.4 MB, free: 9.309 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.467e-05/0.02205, allocations: 28 kB / 280.4 MB, free: 9.281 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.02226, allocations: 127.4 kB / 280.5 MB, free: 9.121 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.02252, allocations: 114 kB / 280.6 MB, free: 8.984 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.02252, allocations: 0 / 280.6 MB, free: 8.984 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004056/0.02293, allocations: 149.8 kB / 280.8 MB, free: 8.832 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.02295, allocations: 8 kB / 280.8 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.02296, allocations: 4 kB / 280.8 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.02299, allocations: 4 kB / 280.8 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.02309, allocations: 11.94 kB / 280.8 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.02311, allocations: 7.984 kB / 280.8 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.02323, allocations: 11.94 kB / 280.8 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.02324, allocations: 4 kB / 280.8 MB, free: 8.781 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,$CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0002242/0.02347, allocations: 180.5 kB / 281 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003407/0.02381, allocations: 149.8 kB / 281.2 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003682/0.02418, allocations: 107.4 kB / 281.3 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.02419, allocations: 4 kB / 281.3 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.02419, allocations: 0 / 281.3 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.0242, allocations: 0 / 281.3 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/0.02458, allocations: 208.5 kB / 281.5 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.02458, allocations: 0 / 281.5 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.867e-05/0.02465, allocations: 11.94 kB / 281.5 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.02466, allocations: 7.938 kB / 281.5 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.02469, allocations: 7.984 kB / 281.5 MB, free: 8.059 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.02469, allocations: 4 kB / 281.5 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.02469, allocations: 4 kB / 281.5 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006223/0.02532, allocations: 251.4 kB / 281.8 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.02547, allocations: 47.67 kB / 281.8 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.234e-05/0.02553, allocations: 8 kB / 281.8 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.02566, allocations: 11.98 kB / 281.8 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.02572, allocations: 4 kB / 281.8 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.02575, allocations: 11.98 kB / 281.8 MB, free: 7.691 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003788/0.02613, allocations: 229.1 kB / 282.1 MB, free: 7.469 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.02613, allocations: 0 / 282.1 MB, free: 7.469 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005015/0.02663, allocations: 35.94 kB / 282.1 MB, free: 7.434 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.004267/0.0309, allocations: 464.6 kB / 282.6 MB, free: 7.121 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004704/0.03137, allocations: 112.4 kB / 282.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.03137, allocations: 0 / 282.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.03153, allocations: 43.61 kB / 282.7 MB, free: 6.961 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008322/0.03236, allocations: 112.4 kB / 282.8 MB, free: 6.852 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.03355, allocations: 414.5 kB / 283.2 MB, free: 6.414 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.0338, allocations: 153.2 kB / 283.4 MB, free: 6.242 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.0339, allocations: 22.33 kB / 283.4 MB, free: 6.223 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.958e-05/0.03399, allocations: 28.48 kB / 283.4 MB, free: 6.195 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.03399, allocations: 0 / 283.4 MB, free: 6.195 MB / 266.7 MB Notification: Performance of Templates: time 0.01243/0.04642, allocations: 3.133 MB / 286.6 MB, free: 3.094 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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: 4.619544046930969]