Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 107.5 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.484/2.484, allocations: 222.9 MB / 241.7 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 43.66 kB / 300.6 MB, free: 6.328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1999, allocations: 49.45 MB / 350.1 MB, free: 4.871 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.006877/0.2068, allocations: 2.038 MB / 352.1 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003808/0.2107, allocations: 1.087 MB / 353.2 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.211, allocations: 3.938 kB / 353.2 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.2122, allocations: 147.6 kB / 353.3 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005085/0.2128, allocations: 103.7 kB / 353.4 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.2141, allocations: 217.3 kB / 353.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004562/0.2146, allocations: 215.4 kB / 353.9 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.2148, allocations: 44.3 kB / 353.9 MB, free: 1.008 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.215, allocations: 83.56 kB / 354 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.2152, allocations: 95.53 kB / 354.1 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.2153, allocations: 8 kB / 354.1 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.2155, allocations: 47.92 kB / 354.1 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.2157, allocations: 47.81 kB / 354.2 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.2158, allocations: 79.48 kB / 354.3 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004096/0.2162, allocations: 187.9 kB / 354.4 MB, free: 480 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2163, allocations: 4 kB / 354.4 MB, free: 476 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2163, allocations: 0 / 354.4 MB, free: 476 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.2163, allocations: 0 / 354.4 MB, free: 476 kB / 286.1 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.001383/0.2177, allocations: 0.5429 MB / 355 MB, free: 15.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.674e-05/0.2178, allocations: 15.97 kB / 355 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.2179, allocations: 24.66 kB / 355 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/0.2185, allocations: 270.8 kB / 355.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.2186, allocations: 8.375 kB / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.2186, allocations: 28.06 kB / 355.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.2196, allocations: 310 kB / 355.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.2197, allocations: 0 / 355.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.2197, allocations: 4 kB / 355.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.2198, allocations: 4 kB / 355.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.2201, allocations: 59.91 kB / 355.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009285/0.221, allocations: 394.2 kB / 356.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006332/0.2217, allocations: 172 kB / 356.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.222, allocations: 82.55 kB / 356.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.419e-05/0.222, allocations: 12 kB / 356.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003106/0.2224, allocations: 71.39 kB / 356.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 3.577e-06/0.2224, allocations: 0 / 356.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009385/0.2234, allocations: 229.4 kB / 356.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/0.2235, allocations: 144.5 kB / 356.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005806/0.2241, allocations: 276.9 kB / 357 MB, free: 13.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.2242, allocations: 29.7 kB / 357.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.2243, allocations: 112.7 kB / 357.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.176e-05/0.2244, allocations: 35.62 kB / 357.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.2246, allocations: 49.94 kB / 357.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000258/0.2249, allocations: 346.8 kB / 357.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.2251, allocations: 36.39 kB / 357.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.2254, allocations: 174.1 kB / 357.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.2259, allocations: 195.2 kB / 358 MB, free: 12.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.2259, allocations: 0 / 358 MB, free: 12.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005729/0.2265, allocations: 225 kB / 358.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.2266, allocations: 4 kB / 358.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.2266, allocations: 7.984 kB / 358.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.2266, allocations: 8 kB / 358.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.2268, allocations: 23.94 kB / 358.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-05/0.2269, allocations: 11.92 kB / 358.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.2271, allocations: 24.34 kB / 358.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.2272, allocations: 12 kB / 358.3 MB, free: 12.19 MB / 302.1 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.0002654/0.2274, allocations: 164.9 kB / 358.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/0.2278, allocations: 125.3 kB / 358.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.2279, allocations: 29.7 kB / 358.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.2279, allocations: 4 kB / 358.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.228, allocations: 0 / 358.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.228, allocations: 7.922 kB / 358.6 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.2284, allocations: 253.4 kB / 358.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.2284, allocations: 4 kB / 358.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.289e-05/0.2285, allocations: 7.938 kB / 358.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.032e-05/0.2285, allocations: 4 kB / 358.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/0.2286, allocations: 12.06 kB / 358.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/0.2286, allocations: 4 kB / 358.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.2286, allocations: 0 / 358.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006703/0.2293, allocations: 229 kB / 359.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.2295, allocations: 112.9 kB / 359.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.498e-05/0.2296, allocations: 11.98 kB / 359.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.2298, allocations: 4 kB / 359.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.2299, allocations: 7.984 kB / 359.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.2299, allocations: 8 kB / 359.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003749/0.2303, allocations: 200.5 kB / 359.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2303, allocations: 0 / 359.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006268/0.231, allocations: 47.94 kB / 359.5 MB, free: 10.87 MB / 302.1 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.001823/0.2328, allocations: 438.4 kB / 359.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005817/0.2334, allocations: 136.5 kB / 360.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.2334, allocations: 4.312 kB / 360.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.2336, allocations: 27.98 kB / 360.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009502/0.2345, allocations: 108.3 kB / 360.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.2358, allocations: 484.7 kB / 360.7 MB, free: 9.805 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006086/0.2365, allocations: 0.7521 MB / 361.4 MB, free: 9.027 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.2366, allocations: 31.42 kB / 361.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2366, allocations: 0 / 361.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of Templates: time 0.01227/0.2489, allocations: 3.188 MB / 364.7 MB, free: 5.82 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches