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.001747/0.001747, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002258/0.002258, allocations: 214.9 kB / 23.74 MB, free: 4.672 MB / 14.72 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.456/1.456, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 63.91 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2656, allocations: 53.4 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.00464/0.2703, allocations: 2.034 MB / 433.2 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.2729, allocations: 1.281 MB / 434.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.2731, allocations: 7.938 kB / 434.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007118/0.2738, allocations: 159.4 kB / 434.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005114/0.2743, allocations: 166.8 kB / 434.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000703/0.275, allocations: 207.4 kB / 435 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.2754, allocations: 227.4 kB / 435.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.2755, allocations: 32.58 kB / 435.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.2757, allocations: 103.6 kB / 435.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.2758, allocations: 107.5 kB / 435.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.2759, allocations: 12 kB / 435.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.276, allocations: 67.95 kB / 435.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.245e-05/0.2761, allocations: 59.7 kB / 435.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.2762, allocations: 87.41 kB / 435.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.2766, allocations: 263.3 kB / 436 MB, free: 1.895 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2767, allocations: 4 kB / 436 MB, free: 1.891 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2767, allocations: 0 / 436 MB, free: 1.891 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.2767, allocations: 0 / 436 MB, free: 1.891 MB / 334.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.0009047/0.2776, allocations: 494.5 kB / 436.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.2776, allocations: 8.031 kB / 436.5 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.239e-05/0.2777, allocations: 50.73 kB / 436.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.528e-05/0.2777, allocations: 32.69 kB / 436.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.2781, allocations: 229.1 kB / 436.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.2781, allocations: 12.38 kB / 436.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.2782, allocations: 20.31 kB / 436.8 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/0.2787, allocations: 297.7 kB / 437.1 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2787, allocations: 3.938 kB / 437.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.2788, allocations: 4 kB / 437.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.2788, allocations: 4 kB / 437.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.2789, allocations: 59.95 kB / 437.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005745/0.2795, allocations: 369.3 kB / 437.5 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.2798, allocations: 156 kB / 437.7 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.28, allocations: 78.55 kB / 437.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.28, allocations: 19.98 kB / 437.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.2802, allocations: 71.38 kB / 437.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.774e-06/0.2802, allocations: 0 / 437.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005103/0.2807, allocations: 225.4 kB / 438.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.2808, allocations: 144.5 kB / 438.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.2811, allocations: 281 kB / 438.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.2812, allocations: 34.08 kB / 438.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.73e-05/0.2813, allocations: 120.6 kB / 438.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.2813, allocations: 31.77 kB / 438.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.906e-05/0.2814, allocations: 53.94 kB / 438.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2815, allocations: 342.7 kB / 439 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.152e-05/0.2816, allocations: 44.39 kB / 439.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.2818, allocations: 174.1 kB / 439.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.2821, allocations: 199.2 kB / 439.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2821, allocations: 0 / 439.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00039/0.2825, allocations: 229.5 kB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2825, allocations: 4 kB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.2825, allocations: 4 kB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.2826, allocations: 15.92 kB / 439.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.937e-05/0.2827, allocations: 19.94 kB / 439.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.2827, allocations: 11.92 kB / 439.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.2828, allocations: 16.36 kB / 439.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.2828, allocations: 20 kB / 439.8 MB, free: 13.71 MB / 350.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.0001595/0.283, allocations: 163.8 kB / 439.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/0.2832, allocations: 129.4 kB / 440 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.2834, allocations: 111.4 kB / 440.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.2834, allocations: 4 kB / 440.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2834, allocations: 0 / 440.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2834, allocations: 3.938 kB / 440.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.2837, allocations: 232.5 kB / 440.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2837, allocations: 0 / 440.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/0.2837, allocations: 8 kB / 440.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2837, allocations: 0 / 440.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.2837, allocations: 11.98 kB / 440.4 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.2837, allocations: 0 / 440.4 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2837, allocations: 0 / 440.4 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.2841, allocations: 233.4 kB / 440.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.27e-05/0.2842, allocations: 39.84 kB / 440.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.2842, allocations: 7.984 kB / 440.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.911e-05/0.2843, allocations: 8 kB / 440.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.2843, allocations: 8.109 kB / 440.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.2844, allocations: 15.98 kB / 440.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002216/0.2846, allocations: 200.5 kB / 440.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2846, allocations: 0 / 440.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003066/0.2849, allocations: 44.03 kB / 441 MB, free: 12.43 MB / 350.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.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 (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.002317/0.2872, allocations: 1.155 MB / 442.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00032/0.2875, allocations: 139.7 kB / 442.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2875, allocations: 4 kB / 442.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.932e-05/0.2876, allocations: 23.97 kB / 442.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.2881, allocations: 123.7 kB / 442.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.2914, allocations: 2.408 MB / 444.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.2918, allocations: 0.748 MB / 445.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.292, allocations: 30.28 kB / 445.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.2921, allocations: 71.41 kB / 445.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of SimCode: time 5.1e-07/0.2921, allocations: 0 / 445.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03805/0.3301, allocations: 5.923 MB / 451.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.17, allocations: 12 kB / 451.6 MB, free: 1.742 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.78926e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins1/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: 13.670708269113675]