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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 187.5 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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=5030,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=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 59.84 kB / 371.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2492, allocations: 52.17 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003664/0.2529, allocations: 1.968 MB / 425.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.255, allocations: 1.056 MB / 426.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.2551, allocations: 7.938 kB / 426.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007168/0.2558, allocations: 159.5 kB / 427 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.2561, allocations: 119.5 kB / 427.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006619/0.2568, allocations: 250.9 kB / 427.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.2571, allocations: 227.4 kB / 427.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.2572, allocations: 32.38 kB / 427.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.2574, allocations: 91.62 kB / 427.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.2575, allocations: 95.47 kB / 427.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.2575, allocations: 16 kB / 427.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.2577, allocations: 59.95 kB / 427.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.885e-05/0.2578, allocations: 55.83 kB / 427.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.052e-05/0.2579, allocations: 71.53 kB / 428 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003602/0.2582, allocations: 253.8 kB / 428.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2582, allocations: 0 / 428.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.2582, allocations: 3.984 kB / 428.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2582, allocations: 0 / 428.2 MB, free: 10.02 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.0008321/0.2591, allocations: 497.6 kB / 428.7 MB, free: 9.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2591, allocations: 8.031 kB / 428.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.2592, allocations: 24.8 kB / 428.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.2596, allocations: 225.1 kB / 429 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.2596, allocations: 8.375 kB / 429 MB, free: 9.223 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.2596, allocations: 16.12 kB / 429 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/0.2602, allocations: 297.1 kB / 429.3 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2602, allocations: 3.938 kB / 429.3 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.2602, allocations: 0 / 429.3 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2602, allocations: 4 kB / 429.3 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.2604, allocations: 63.95 kB / 429.4 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.261, allocations: 318 kB / 429.7 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.2613, allocations: 176 kB / 429.9 MB, free: 8.281 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.2615, allocations: 74.55 kB / 429.9 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.2615, allocations: 7.938 kB / 429.9 MB, free: 8.191 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.2617, allocations: 75.38 kB / 430 MB, free: 8.105 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.813e-06/0.2617, allocations: 0 / 430 MB, free: 8.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005272/0.2622, allocations: 233.6 kB / 430.2 MB, free: 7.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.2623, allocations: 122.9 kB / 430.4 MB, free: 7.727 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.2626, allocations: 268.9 kB / 430.6 MB, free: 7.453 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.2627, allocations: 37.7 kB / 430.7 MB, free: 7.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.798e-05/0.2628, allocations: 116.6 kB / 430.8 MB, free: 7.293 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.2628, allocations: 27.83 kB / 430.8 MB, free: 7.266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-05/0.2629, allocations: 57.89 kB / 430.9 MB, free: 7.203 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.2631, allocations: 338.8 kB / 431.2 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.415e-05/0.2632, allocations: 40.39 kB / 431.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.2634, allocations: 188.1 kB / 431.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.2637, allocations: 203.2 kB / 431.6 MB, free: 6.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2637, allocations: 0 / 431.6 MB, free: 6.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003877/0.2641, allocations: 225.6 kB / 431.8 MB, free: 6.098 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2641, allocations: 12.09 kB / 431.8 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.2641, allocations: 7.984 kB / 431.8 MB, free: 6.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.2641, allocations: 4 kB / 431.8 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.546e-05/0.2642, allocations: 19.94 kB / 431.9 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.2642, allocations: 11.92 kB / 431.9 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.2643, allocations: 19.89 kB / 431.9 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.2643, allocations: 12 kB / 431.9 MB, free: 6.012 MB / 334.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.0001749/0.2645, allocations: 172.1 kB / 432.1 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.2647, allocations: 125.5 kB / 432.2 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.265, allocations: 123.4 kB / 432.3 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.265, allocations: 3.938 kB / 432.3 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.265, allocations: 4 kB / 432.3 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.265, allocations: 0 / 432.3 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.2652, allocations: 177.1 kB / 432.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2652, allocations: 0 / 432.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/0.2652, allocations: 12 kB / 432.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2652, allocations: 0 / 432.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.2653, allocations: 7.984 kB / 432.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2653, allocations: 0 / 432.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2653, allocations: 4 kB / 432.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000389/0.2657, allocations: 238.4 kB / 432.8 MB, free: 5.086 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.2658, allocations: 39.77 kB / 432.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.2658, allocations: 8.094 kB / 432.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/0.2659, allocations: 11.94 kB / 432.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.2659, allocations: 3.984 kB / 432.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.2659, allocations: 12 kB / 432.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000215/0.2662, allocations: 196.5 kB / 433 MB, free: 4.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2662, allocations: 0 / 433 MB, free: 4.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003256/0.2665, allocations: 43.94 kB / 433.1 MB, free: 4.777 MB / 334.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.001697/0.2682, allocations: 468.3 kB / 433.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.2685, allocations: 144.7 kB / 433.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2685, allocations: 0 / 433.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.721e-05/0.2686, allocations: 31.92 kB / 433.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.2691, allocations: 114.1 kB / 433.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007488/0.2698, allocations: 438.8 kB / 434.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.27, allocations: 144.7 kB / 434.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.2701, allocations: 31.42 kB / 434.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2701, allocations: 0 / 434.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of Templates: time 0.006134/0.2762, allocations: 3.271 MB / 437.7 MB, free: 292 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.401322308927774]