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.001411/0.001411, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001579/0.001579, allocations: 156.9 kB / 24.27 MB, free: 168 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.488/1.488, allocations: 177 MB / 204.4 MB, free: 5.613 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.693e-06/1.693e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.198e-05/3.367e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004576/0.00461, allocations: 1.994 MB / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.007319, allocations: 1.195 MB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.007522, allocations: 3.938 kB / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008296/0.008352, allocations: 167.4 kB / 275.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006174/0.008969, allocations: 159.2 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007764/0.009746, allocations: 219.2 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004545/0.0102, allocations: 223.4 kB / 276.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.01038, allocations: 36.5 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.01068, allocations: 131.6 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.0109, allocations: 83.77 kB / 276.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.694e-05/0.01095, allocations: 12 kB / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.01114, allocations: 63.89 kB / 276.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.01125, allocations: 63.75 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.01135, allocations: 51.78 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005364/0.01189, allocations: 259.1 kB / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01189, allocations: 0 / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.0119, allocations: 0 / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.01191, allocations: 3.938 kB / 276.8 MB, free: 13.14 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.001159/0.01306, allocations: 490.6 kB / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.01312, allocations: 19.97 kB / 277.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.01324, allocations: 36.75 kB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004775/0.01371, allocations: 232.7 kB / 277.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.01375, allocations: 16.38 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.01378, allocations: 8.375 kB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006564/0.01443, allocations: 296.3 kB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.01444, allocations: 4.188 kB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.01446, allocations: 4.375 kB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.01448, allocations: 11.94 kB / 277.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.01467, allocations: 59.91 kB / 278 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006124/0.01528, allocations: 310 kB / 278.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/0.01567, allocations: 171.9 kB / 278.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.01584, allocations: 74.55 kB / 278.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.01587, allocations: 11.94 kB / 278.5 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.01606, allocations: 75.33 kB / 278.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.894e-06/0.01606, allocations: 0 / 278.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006307/0.01669, allocations: 245.4 kB / 278.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.01681, allocations: 114.8 kB / 279 MB, free: 10.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.01719, allocations: 285.8 kB / 279.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.01722, allocations: 29.7 kB / 279.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.01733, allocations: 124.6 kB / 279.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.01737, allocations: 31.8 kB / 279.4 MB, free: 10.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.272e-05/0.01746, allocations: 33.7 kB / 279.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.01766, allocations: 326.8 kB / 279.8 MB, free: 9.965 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.778e-05/0.01775, allocations: 31.98 kB / 279.8 MB, free: 9.934 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.0179, allocations: 111.6 kB / 279.9 MB, free: 9.797 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.01809, allocations: 101 kB / 280 MB, free: 9.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01809, allocations: 0 / 280 MB, free: 9.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002979/0.01839, allocations: 149.3 kB / 280.2 MB, free: 9.527 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.01841, allocations: 12.19 kB / 280.2 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.01842, allocations: 3.984 kB / 280.2 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.01844, allocations: 4 kB / 280.2 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.01855, allocations: 19.94 kB / 280.2 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.01856, allocations: 0 / 280.2 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.034e-05/0.01865, allocations: 11.92 kB / 280.2 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.01866, allocations: 4 kB / 280.2 MB, free: 9.473 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.0002754/0.01893, allocations: 154.1 kB / 280.4 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/0.01919, allocations: 149.6 kB / 280.5 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003092/0.0195, allocations: 123.4 kB / 280.6 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.01951, allocations: 0 / 280.6 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.01952, allocations: 4 kB / 280.6 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01952, allocations: 0 / 280.6 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.01975, allocations: 169.2 kB / 280.8 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.01976, allocations: 3.984 kB / 280.8 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/0.01981, allocations: 15.94 kB / 280.8 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.01982, allocations: 3.938 kB / 280.8 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.01984, allocations: 8 kB / 280.8 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.01984, allocations: 0 / 280.8 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.01984, allocations: 7.984 kB / 280.8 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004337/0.02028, allocations: 234.5 kB / 281.1 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.02039, allocations: 51.67 kB / 281.1 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.02044, allocations: 11.98 kB / 281.1 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/0.02051, allocations: 4 kB / 281.1 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.02058, allocations: 7.984 kB / 281.1 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.0206, allocations: 8 kB / 281.2 MB, free: 8.457 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002716/0.02087, allocations: 205.2 kB / 281.4 MB, free: 8.258 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02087, allocations: 0 / 281.4 MB, free: 8.258 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003069/0.02118, allocations: 39.94 kB / 281.4 MB, free: 8.219 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.002059/0.02324, allocations: 455.5 kB / 281.8 MB, free: 7.914 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.02355, allocations: 104.7 kB / 281.9 MB, free: 7.812 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02356, allocations: 0 / 281.9 MB, free: 7.812 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.521e-05/0.02364, allocations: 31.92 kB / 282 MB, free: 7.781 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.0242, allocations: 112.4 kB / 282.1 MB, free: 7.672 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009027/0.0251, allocations: 431.6 kB / 282.5 MB, free: 7.215 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.02529, allocations: 145.2 kB / 282.6 MB, free: 7.051 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.579e-05/0.02539, allocations: 26.31 kB / 282.7 MB, free: 7.027 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.223e-05/0.02547, allocations: 36.48 kB / 282.7 MB, free: 6.992 MB / 266.7 MB Notification: Performance of SimCode: time 9.31e-07/0.02547, allocations: 0 / 282.7 MB, free: 6.992 MB / 266.7 MB Notification: Performance of Templates: time 0.008366/0.03384, allocations: 3.135 MB / 285.8 MB, free: 3.891 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 480] 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.396809097961523]