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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 101.2 kB / 19.61 MB, free: 2.562 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002272/0.002272, allocations: 196.2 kB / 22.76 MB, free: 5.621 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 251.4 MB, free: 13.59 MB / 206.1 MB [Timeout remaining time 88] 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.001528/0.001528, allocations: 51.92 kB / 369.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2608, allocations: 52.14 MB / 421.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003544/0.2644, allocations: 1.999 MB / 423.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.2664, allocations: 1.122 MB / 424.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.2665, allocations: 4 kB / 424.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006788/0.2672, allocations: 155.4 kB / 424.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.2675, allocations: 119.5 kB / 424.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007234/0.2683, allocations: 242.5 kB / 424.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.2686, allocations: 223.4 kB / 425.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.2687, allocations: 32.3 kB / 425.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.2688, allocations: 99.55 kB / 425.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.269, allocations: 91.59 kB / 425.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.269, allocations: 12 kB / 425.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.2691, allocations: 59.95 kB / 425.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.684e-05/0.2692, allocations: 63.7 kB / 425.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.2693, allocations: 83.47 kB / 425.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000393/0.2697, allocations: 260.1 kB / 425.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2697, allocations: 0 / 425.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.2697, allocations: 3.984 kB / 425.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.2697, allocations: 0 / 425.8 MB, free: 10.62 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.0008227/0.2706, allocations: 0.5543 MB / 426.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2706, allocations: 15.89 kB / 426.4 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.656e-05/0.2707, allocations: 24.8 kB / 426.4 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.2711, allocations: 290.9 kB / 426.7 MB, free: 9.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.2711, allocations: 12.36 kB / 426.7 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.2711, allocations: 19.94 kB / 426.7 MB, free: 9.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005615/0.2717, allocations: 297.2 kB / 427 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.2717, allocations: 0 / 427 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.2717, allocations: 4 kB / 427 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2717, allocations: 4 kB / 427 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.2719, allocations: 63.91 kB / 427.1 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005246/0.2724, allocations: 390.3 kB / 427.5 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.2727, allocations: 159.8 kB / 427.6 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.2729, allocations: 78.67 kB / 427.7 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.2729, allocations: 7.984 kB / 427.7 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.2731, allocations: 79.38 kB / 427.8 MB, free: 8.438 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.644e-06/0.2731, allocations: 3.938 kB / 427.8 MB, free: 8.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005177/0.2736, allocations: 233.4 kB / 428 MB, free: 8.199 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.2737, allocations: 144.5 kB / 428.2 MB, free: 8.027 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/0.274, allocations: 272.9 kB / 428.4 MB, free: 7.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.274, allocations: 37.69 kB / 428.5 MB, free: 7.703 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.017e-05/0.2741, allocations: 112.7 kB / 428.6 MB, free: 7.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.2742, allocations: 31.84 kB / 428.6 MB, free: 7.559 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.206e-05/0.2742, allocations: 53.89 kB / 428.7 MB, free: 7.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.2744, allocations: 338.8 kB / 429 MB, free: 7.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.865e-05/0.2745, allocations: 32.45 kB / 429 MB, free: 7.129 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.2747, allocations: 167.5 kB / 429.2 MB, free: 6.906 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.2749, allocations: 203.2 kB / 429.4 MB, free: 6.652 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2749, allocations: 0 / 429.4 MB, free: 6.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003695/0.2753, allocations: 225.1 kB / 429.6 MB, free: 6.426 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2753, allocations: 8 kB / 429.6 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2753, allocations: 4.844 kB / 429.6 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.2753, allocations: 8 kB / 429.6 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.631e-05/0.2754, allocations: 23.92 kB / 429.7 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.2754, allocations: 15.94 kB / 429.7 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.2756, allocations: 27.81 kB / 429.7 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.2756, allocations: 8 kB / 429.7 MB, free: 6.332 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.000164/0.2757, allocations: 167.9 kB / 429.9 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.2759, allocations: 133.8 kB / 430 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.2762, allocations: 115.3 kB / 430.1 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.2762, allocations: 4 kB / 430.1 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2762, allocations: 0 / 430.1 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.2762, allocations: 11.92 kB / 430.1 MB, free: 5.887 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.2765, allocations: 241.5 kB / 430.4 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2765, allocations: 0 / 430.4 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.2765, allocations: 11.98 kB / 430.4 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2765, allocations: 0 / 430.4 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.2765, allocations: 8 kB / 430.4 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2765, allocations: 3.938 kB / 430.4 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2765, allocations: 4 kB / 430.4 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.2769, allocations: 222.5 kB / 430.6 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.277, allocations: 116.9 kB / 430.7 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.2771, allocations: 11.94 kB / 430.7 MB, free: 5.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.2771, allocations: 11.98 kB / 430.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.2772, allocations: 4 kB / 430.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.2772, allocations: 12 kB / 430.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002106/0.2774, allocations: 200.4 kB / 431 MB, free: 4.965 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2774, allocations: 0 / 431 MB, free: 4.965 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003173/0.2777, allocations: 47.92 kB / 431 MB, free: 4.918 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 (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.001507/0.2792, allocations: 425.2 kB / 431.4 MB, free: 4.656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003414/0.2796, allocations: 139.8 kB / 431.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2796, allocations: 0 / 431.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.434e-05/0.2797, allocations: 23.94 kB / 431.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.2802, allocations: 115.4 kB / 431.7 MB, free: 4.387 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007672/0.2809, allocations: 430.8 kB / 432.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.2813, allocations: 0.7556 MB / 432.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.2814, allocations: 23.44 kB / 432.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2814, allocations: 3.938 kB / 432.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of Templates: time 0.006499/0.2879, allocations: 3.246 MB / 436.1 MB, free: 15.89 MB / 350.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