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.001312/0.001312, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001465/0.001465, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 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.44/1.44, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 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 0.001592/0.001592, allocations: 47.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2364, allocations: 53.36 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003602/0.24, allocations: 1.985 MB / 434.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002263/0.2422, allocations: 1.192 MB / 435.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.2424, allocations: 3.938 kB / 435.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006112/0.243, allocations: 167.4 kB / 435.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.2434, allocations: 167.3 kB / 435.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006004/0.244, allocations: 210.6 kB / 436 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.2443, allocations: 227.4 kB / 436.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.2444, allocations: 36.38 kB / 436.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.2446, allocations: 107.6 kB / 436.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.2447, allocations: 99.47 kB / 436.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.2447, allocations: 16 kB / 436.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.2449, allocations: 67.95 kB / 436.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.766e-05/0.245, allocations: 47.84 kB / 436.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.581e-05/0.245, allocations: 75.45 kB / 436.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.2454, allocations: 265.7 kB / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2454, allocations: 0 / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2454, allocations: 0 / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.2454, allocations: 0 / 437 MB, free: 2.055 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.0008378/0.2463, allocations: 0.4906 MB / 437.5 MB, free: 1.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.2463, allocations: 8.031 kB / 437.5 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.227e-05/0.2464, allocations: 28.8 kB / 437.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.2468, allocations: 229.1 kB / 437.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.2468, allocations: 8.375 kB / 437.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.2469, allocations: 16.12 kB / 437.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006524/0.2475, allocations: 299.2 kB / 438 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.2475, allocations: 0 / 438 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.2476, allocations: 3.984 kB / 438 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2476, allocations: 4 kB / 438 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.2477, allocations: 71.84 kB / 438.1 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.2482, allocations: 314 kB / 438.4 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.2486, allocations: 159.8 kB / 438.6 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.2488, allocations: 82.66 kB / 438.6 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.2488, allocations: 8 kB / 438.7 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.249, allocations: 71.39 kB / 438.7 MB, free: 128 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.843e-06/0.249, allocations: 0 / 438.7 MB, free: 128 kB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005648/0.2495, allocations: 241.4 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.383e-05/0.2496, allocations: 126.7 kB / 439.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.25, allocations: 281 kB / 439.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.25, allocations: 29.7 kB / 439.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.328e-05/0.2501, allocations: 124.6 kB / 439.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.2501, allocations: 31.84 kB / 439.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.189e-05/0.2502, allocations: 49.94 kB / 439.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.2504, allocations: 338.8 kB / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-05/0.2505, allocations: 40.45 kB / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.2507, allocations: 190.9 kB / 440.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.251, allocations: 199.2 kB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.251, allocations: 4 kB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000417/0.2514, allocations: 233.2 kB / 440.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2514, allocations: 4 kB / 440.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.2514, allocations: 4 kB / 440.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.2514, allocations: 8 kB / 440.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.2516, allocations: 23.92 kB / 440.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.2516, allocations: 7.938 kB / 440.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.2517, allocations: 20.33 kB / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.2517, allocations: 16 kB / 440.7 MB, free: 14 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.0001692/0.2519, allocations: 163.8 kB / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.2521, allocations: 137.4 kB / 440.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.2524, allocations: 115.3 kB / 441.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2524, allocations: 4 kB / 441.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.2524, allocations: 4 kB / 441.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.2524, allocations: 3.984 kB / 441.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.2526, allocations: 173.2 kB / 441.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2526, allocations: 320 / 441.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.13e-05/0.2526, allocations: 19.92 kB / 441.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2526, allocations: 4.469 kB / 441.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.2527, allocations: 8 kB / 441.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2527, allocations: 0 / 441.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2527, allocations: 7.938 kB / 441.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.2531, allocations: 238 kB / 441.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-05/0.2532, allocations: 43.77 kB / 441.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.2532, allocations: 8 kB / 441.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.978e-05/0.2533, allocations: 11.98 kB / 441.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.2533, allocations: 7.984 kB / 441.6 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.2533, allocations: 11.98 kB / 441.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002274/0.2536, allocations: 204.5 kB / 441.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2536, allocations: 0 / 441.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003335/0.2539, allocations: 43.94 kB / 441.8 MB, free: 12.75 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 (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.001733/0.2556, allocations: 455.9 kB / 442.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003461/0.256, allocations: 147.9 kB / 442.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.256, allocations: 0 / 442.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.29e-05/0.2561, allocations: 39.84 kB / 442.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.2566, allocations: 120.2 kB / 442.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007053/0.2573, allocations: 393.2 kB / 443 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.2574, allocations: 154.1 kB / 443.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.506e-05/0.2575, allocations: 26.23 kB / 443.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.061e-05/0.2576, allocations: 23.42 kB / 443.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2576, allocations: 0 / 443.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Templates: time 0.00802/0.2656, allocations: 3.374 MB / 446.5 MB, free: 8.219 MB / 350.1 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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.357890327999485]