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) 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) 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=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/ModelicaServices trunk/package.mo): time 0.001331/0.001332, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001952/0.001952, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 64.62 kB / 306.3 MB, free: 1.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1148, allocations: 50.54 MB / 356.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004037/0.1189, allocations: 2.058 MB / 358.9 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.1212, allocations: 1.243 MB / 360.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002125/0.1214, allocations: 4 kB / 360.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006734/0.1221, allocations: 135.6 kB / 360.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004265/0.1226, allocations: 147.5 kB / 360.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006482/0.1232, allocations: 187 kB / 360.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.1235, allocations: 227.3 kB / 360.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.1237, allocations: 52.27 kB / 360.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.1239, allocations: 83.58 kB / 360.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.1241, allocations: 91.53 kB / 361 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.1241, allocations: 8 kB / 361 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.1243, allocations: 51.97 kB / 361.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.1244, allocations: 47.78 kB / 361.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.1246, allocations: 87.39 kB / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004108/0.125, allocations: 243.5 kB / 361.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.125, allocations: 8 kB / 361.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.125, allocations: 7.938 kB / 361.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.125, allocations: 0 / 361.4 MB, free: 9.871 MB / 302.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.001175/0.1262, allocations: 0.5391 MB / 362 MB, free: 9.277 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.1263, allocations: 12.03 kB / 362 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.1264, allocations: 32.55 kB / 362 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.1268, allocations: 278.7 kB / 362.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/0.1269, allocations: 12.38 kB / 362.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.1269, allocations: 16.12 kB / 362.3 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006109/0.1275, allocations: 298.3 kB / 362.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1275, allocations: 0 / 362.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.1276, allocations: 8 kB / 362.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.1276, allocations: 7.922 kB / 362.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.1278, allocations: 55.97 kB / 362.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006633/0.1285, allocations: 406.1 kB / 363.1 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.1288, allocations: 168 kB / 363.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.129, allocations: 86.55 kB / 363.3 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.129, allocations: 4 kB / 363.3 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.1292, allocations: 75.33 kB / 363.4 MB, free: 7.676 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 2.234e-06/0.1292, allocations: 0 / 363.4 MB, free: 7.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005345/0.1297, allocations: 229.3 kB / 363.6 MB, free: 7.445 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.1299, allocations: 144.5 kB / 363.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.1302, allocations: 284.9 kB / 364.1 MB, free: 6.988 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.1303, allocations: 29.7 kB / 364.1 MB, free: 6.953 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.1304, allocations: 116.7 kB / 364.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.1304, allocations: 35.64 kB / 364.2 MB, free: 6.797 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-05/0.1305, allocations: 49.92 kB / 364.3 MB, free: 6.742 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1307, allocations: 334.8 kB / 364.6 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.47e-05/0.1308, allocations: 44.44 kB / 364.7 MB, free: 6.363 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.131, allocations: 174.7 kB / 364.8 MB, free: 6.133 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.1313, allocations: 207.2 kB / 365 MB, free: 5.875 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1313, allocations: 0 / 365 MB, free: 5.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004046/0.1317, allocations: 225.1 kB / 365.2 MB, free: 5.648 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.1317, allocations: 8 kB / 365.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.1317, allocations: 4 kB / 365.3 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.1318, allocations: 4 kB / 365.3 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1319, allocations: 27.92 kB / 365.3 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.1319, allocations: 7.938 kB / 365.3 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.132, allocations: 19.84 kB / 365.3 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.1321, allocations: 12.38 kB / 365.3 MB, free: 5.566 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.0001883/0.1323, allocations: 168 kB / 365.5 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.1325, allocations: 129.6 kB / 365.6 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.427e-05/0.1326, allocations: 29.7 kB / 365.6 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.381e-06/0.1326, allocations: 4 kB / 365.7 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.1326, allocations: 0 / 365.7 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1326, allocations: 3.938 kB / 365.7 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.1329, allocations: 253.4 kB / 365.9 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1329, allocations: 4.312 kB / 365.9 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.119e-05/0.1329, allocations: 19.92 kB / 365.9 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.133, allocations: 0 / 365.9 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.133, allocations: 8 kB / 365.9 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.133, allocations: 0 / 365.9 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.133, allocations: 4 kB / 365.9 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.1334, allocations: 234.8 kB / 366.2 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.1335, allocations: 112.8 kB / 366.3 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.1336, allocations: 4 kB / 366.3 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.989e-05/0.1337, allocations: 11.98 kB / 366.3 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.1337, allocations: 7.938 kB / 366.3 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.1338, allocations: 12 kB / 366.3 MB, free: 4.473 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002028/0.134, allocations: 204.4 kB / 366.5 MB, free: 4.273 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.134, allocations: 0 / 366.5 MB, free: 4.273 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003377/0.1343, allocations: 43.94 kB / 366.6 MB, free: 4.23 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.001069/0.1354, allocations: 430.8 kB / 367 MB, free: 3.941 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003421/0.1358, allocations: 144.7 kB / 367.1 MB, free: 3.801 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1358, allocations: 0 / 367.1 MB, free: 3.801 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.073e-05/0.1359, allocations: 32.05 kB / 367.1 MB, free: 3.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.1364, allocations: 105.8 kB / 367.3 MB, free: 3.668 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008402/0.1372, allocations: 455.2 kB / 367.7 MB, free: 3.184 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.1377, allocations: 0.7638 MB / 368.5 MB, free: 2.395 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.784e-05/0.1378, allocations: 26.28 kB / 368.5 MB, free: 2.371 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.1379, allocations: 23.44 kB / 368.5 MB, free: 2.348 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1379, allocations: 0 / 368.5 MB, free: 2.348 MB / 302.1 MB Notification: Performance of Templates: time 0.2031/0.341, allocations: 2.879 MB / 371.4 MB, free: 19.69 MB / 302.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches