Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.549/1.549, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.09e-05/3.25e-05, allocations: 6.312 kB / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004443/0.004475, allocations: 2.018 MB / 274.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002582/0.007057, allocations: 1.226 MB / 275.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.007203, allocations: 7.938 kB / 275.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007207/0.007924, allocations: 167.3 kB / 275.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004677/0.008391, allocations: 163.2 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006698/0.009061, allocations: 211.2 kB / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.009427, allocations: 231.3 kB / 276.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.009564, allocations: 32.58 kB / 276.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.009795, allocations: 131.6 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.009949, allocations: 79.77 kB / 276.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.009992, allocations: 16 kB / 276.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.01015, allocations: 59.89 kB / 276.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.01026, allocations: 63.77 kB / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.99e-05/0.01035, allocations: 47.83 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004619/0.01081, allocations: 263.1 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.01081, allocations: 3.938 kB / 277 MB, free: 13.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01081, allocations: 0 / 277 MB, free: 13.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.01082, allocations: 7.938 kB / 277 MB, free: 13.12 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.00099/0.01181, allocations: 0.5865 MB / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.01185, allocations: 12.03 kB / 277.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.01196, allocations: 36.75 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004356/0.01239, allocations: 247.5 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.01241, allocations: 8.375 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.01244, allocations: 16.38 kB / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006177/0.01306, allocations: 296.3 kB / 278.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.01308, allocations: 3.938 kB / 278.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.01309, allocations: 8 kB / 278.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.0131, allocations: 4 kB / 278.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.01326, allocations: 59.91 kB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006502/0.01391, allocations: 390.9 kB / 278.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.01431, allocations: 189.4 kB / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.01449, allocations: 87.11 kB / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.164e-05/0.01453, allocations: 7.984 kB / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/0.01472, allocations: 80.98 kB / 279 MB, free: 10.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.01472, allocations: 0 / 279 MB, free: 10.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005494/0.01527, allocations: 233.4 kB / 279.2 MB, free: 10.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.01538, allocations: 114.8 kB / 279.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004077/0.01579, allocations: 348.3 kB / 279.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.01582, allocations: 33.69 kB / 279.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003675/0.01619, allocations: 183.3 kB / 279.9 MB, free: 9.973 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.01623, allocations: 31.78 kB / 279.9 MB, free: 9.941 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.467e-05/0.01632, allocations: 51.38 kB / 280 MB, free: 9.883 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003166/0.01663, allocations: 0.5157 MB / 280.5 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.278e-05/0.01671, allocations: 23.98 kB / 280.5 MB, free: 9.332 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.01687, allocations: 119.5 kB / 280.6 MB, free: 9.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.01706, allocations: 121.9 kB / 280.8 MB, free: 9.035 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.01706, allocations: 4 kB / 280.8 MB, free: 9.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002704/0.01733, allocations: 145.4 kB / 280.9 MB, free: 8.883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.01735, allocations: 4 kB / 280.9 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.01735, allocations: 160 / 280.9 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.01737, allocations: 8 kB / 280.9 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.519e-05/0.01746, allocations: 19.92 kB / 280.9 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.01747, allocations: 0 / 280.9 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.302e-05/0.01754, allocations: 7.938 kB / 280.9 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.01756, allocations: 12 kB / 281 MB, free: 8.832 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.0001839/0.01774, allocations: 192.4 kB / 281.1 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.01797, allocations: 129.4 kB / 281.3 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.01823, allocations: 107.5 kB / 281.4 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.01823, allocations: 4 kB / 281.4 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.01824, allocations: 8 kB / 281.4 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.01824, allocations: 3.984 kB / 281.4 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.01852, allocations: 212.5 kB / 281.6 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01852, allocations: 0 / 281.6 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.101e-05/0.01858, allocations: 16.23 kB / 281.6 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.01858, allocations: 0 / 281.6 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.0186, allocations: 12 kB / 281.6 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.0186, allocations: 0 / 281.6 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01861, allocations: 0 / 281.6 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.01904, allocations: 254.3 kB / 281.9 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.01915, allocations: 47.72 kB / 281.9 MB, free: 7.777 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.01919, allocations: 11.94 kB / 281.9 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-05/0.01925, allocations: 4 kB / 281.9 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.01932, allocations: 11.98 kB / 282 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.01935, allocations: 8 kB / 282 MB, free: 7.742 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002462/0.01959, allocations: 225.1 kB / 282.2 MB, free: 7.523 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01959, allocations: 0 / 282.2 MB, free: 7.523 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002847/0.01988, allocations: 47.92 kB / 282.2 MB, free: 7.477 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.002941/0.02282, allocations: 465 kB / 282.7 MB, free: 7.195 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003181/0.02314, allocations: 119.4 kB / 282.8 MB, free: 7.074 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.02314, allocations: 0 / 282.8 MB, free: 7.074 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.931e-05/0.02324, allocations: 31.67 kB / 282.8 MB, free: 7.039 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.02377, allocations: 120.2 kB / 282.9 MB, free: 6.922 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007813/0.02455, allocations: 402.8 kB / 283.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.02471, allocations: 141.5 kB / 283.5 MB, free: 6.332 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.432e-05/0.02479, allocations: 34.3 kB / 283.5 MB, free: 6.301 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.269e-05/0.02485, allocations: 24.5 kB / 283.5 MB, free: 6.277 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.02485, allocations: 0 / 283.5 MB, free: 6.277 MB / 266.7 MB Notification: Performance of Templates: time 0.008231/0.03308, allocations: 3.14 MB / 286.7 MB, free: 3.188 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.561831395025365]