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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 226.7 MB / 245.5 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001392, allocations: 102.3 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 47.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2889, allocations: 50.46 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004287/0.2933, allocations: 2.059 MB / 409.1 MB, free: 25.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.2951, allocations: 1.242 MB / 410.4 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.2953, allocations: 4 kB / 410.4 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005817/0.2959, allocations: 159.5 kB / 410.5 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.2962, allocations: 139 kB / 410.7 MB, free: 24.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000628/0.2969, allocations: 215.6 kB / 410.9 MB, free: 24 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.2971, allocations: 235.4 kB / 411.1 MB, free: 23.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.2973, allocations: 44.28 kB / 411.1 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.675e-05/0.2974, allocations: 87.56 kB / 411.2 MB, free: 23.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.2975, allocations: 91.53 kB / 411.3 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.2975, allocations: 8 kB / 411.3 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.2976, allocations: 51.92 kB / 411.4 MB, free: 23.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.2977, allocations: 51.81 kB / 411.4 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.523e-05/0.2978, allocations: 87.41 kB / 411.5 MB, free: 23.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.298, allocations: 244.7 kB / 411.7 MB, free: 23.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.298, allocations: 3.938 kB / 411.7 MB, free: 23.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.2981, allocations: 4 kB / 411.8 MB, free: 23.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.2981, allocations: 0 / 411.8 MB, free: 23.11 MB / 298.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.0008887/0.299, allocations: 0.5468 MB / 412.3 MB, free: 22.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.299, allocations: 12.88 kB / 412.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.561e-05/0.2991, allocations: 24.66 kB / 412.3 MB, free: 22.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.2995, allocations: 282.7 kB / 412.6 MB, free: 22.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.2995, allocations: 20.31 kB / 412.6 MB, free: 22.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.2995, allocations: 16.12 kB / 412.6 MB, free: 22.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.3, allocations: 292.6 kB / 412.9 MB, free: 21.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3, allocations: 0 / 412.9 MB, free: 21.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.3, allocations: 7.984 kB / 412.9 MB, free: 21.81 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3, allocations: 0 / 412.9 MB, free: 21.81 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.3002, allocations: 63.95 kB / 413 MB, free: 21.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.3006, allocations: 402.2 kB / 413.4 MB, free: 21.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.3009, allocations: 168 kB / 413.6 MB, free: 21.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.301, allocations: 82.55 kB / 413.6 MB, free: 21.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.3011, allocations: 11.92 kB / 413.7 MB, free: 21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.3012, allocations: 75.45 kB / 413.7 MB, free: 20.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.763e-06/0.3013, allocations: 0 / 413.7 MB, free: 20.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004324/0.3017, allocations: 237.3 kB / 414 MB, free: 20.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.3018, allocations: 144.5 kB / 414.1 MB, free: 20.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.302, allocations: 280.9 kB / 414.4 MB, free: 20.22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.302, allocations: 29.7 kB / 414.4 MB, free: 20.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.3021, allocations: 116.7 kB / 414.5 MB, free: 20.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.3021, allocations: 35.62 kB / 414.5 MB, free: 20.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.3022, allocations: 49.94 kB / 414.6 MB, free: 19.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.404e-05/0.3023, allocations: 350.7 kB / 414.9 MB, free: 19.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.109e-05/0.3023, allocations: 32.45 kB / 415 MB, free: 19.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.3025, allocations: 174 kB / 415.1 MB, free: 19.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.3026, allocations: 199.2 kB / 415.3 MB, free: 19.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3027, allocations: 0 / 415.3 MB, free: 19.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003379/0.303, allocations: 225 kB / 415.6 MB, free: 18.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.303, allocations: 4 kB / 415.6 MB, free: 18.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.303, allocations: 11.98 kB / 415.6 MB, free: 18.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3031, allocations: 4 kB / 415.6 MB, free: 18.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.963e-05/0.3032, allocations: 23.94 kB / 415.6 MB, free: 18.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.3032, allocations: 12.45 kB / 415.6 MB, free: 18.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.956e-05/0.3033, allocations: 24.16 kB / 415.6 MB, free: 18.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.3033, allocations: 12 kB / 415.6 MB, free: 18.8 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,and1.y,and1.u2,and1.u1,upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * 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 (28): * Single equations (assignments): 28 * 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.0001116/0.3034, allocations: 173.4 kB / 415.8 MB, free: 18.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.3036, allocations: 121.3 kB / 415.9 MB, free: 18.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.692e-05/0.3036, allocations: 29.7 kB / 416 MB, free: 18.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3037, allocations: 4 kB / 416 MB, free: 18.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3037, allocations: 0 / 416 MB, free: 18.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3037, allocations: 7.938 kB / 416 MB, free: 18.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.3038, allocations: 253.4 kB / 416.2 MB, free: 18.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3038, allocations: 0 / 416.2 MB, free: 18.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.3039, allocations: 11.94 kB / 416.2 MB, free: 18.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3039, allocations: 3.984 kB / 416.2 MB, free: 18.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.3039, allocations: 11.98 kB / 416.3 MB, free: 18.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3039, allocations: 0 / 416.3 MB, free: 18.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3039, allocations: 4 kB / 416.3 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000567/0.3045, allocations: 0.8586 MB / 417.1 MB, free: 17.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-05/0.3046, allocations: 124.7 kB / 417.2 MB, free: 17.06 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.3046, allocations: 8 kB / 417.2 MB, free: 17.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-05/0.3047, allocations: 3.984 kB / 417.2 MB, free: 17.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.3048, allocations: 8 kB / 417.3 MB, free: 17.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3048, allocations: 8 kB / 417.3 MB, free: 17.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001393/0.3049, allocations: 208.4 kB / 417.5 MB, free: 16.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3049, allocations: 0 / 417.5 MB, free: 16.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003924/0.3053, allocations: 44 kB / 417.5 MB, free: 16.79 MB / 298.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.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent) * 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 (22): * Single equations (assignments): 20 * 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.0009007/0.3063, allocations: 433 kB / 417.9 MB, free: 16.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002695/0.3065, allocations: 140.2 kB / 418.1 MB, free: 16.37 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3065, allocations: 0 / 418.1 MB, free: 16.37 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.077e-05/0.3066, allocations: 27.92 kB / 418.1 MB, free: 16.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005184/0.3071, allocations: 108.4 kB / 418.2 MB, free: 16.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/0.3078, allocations: 0.6158 MB / 418.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.308, allocations: 0.7638 MB / 419.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.52e-05/0.3081, allocations: 34.5 kB / 419.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.3082, allocations: 19.44 kB / 419.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3082, allocations: 0 / 419.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of Templates: time 0.005623/0.3138, allocations: 2.996 MB / 422.6 MB, free: 11.75 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches