Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.001337/0.001337, allocations: 96.02 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.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.001413/0.001413, allocations: 177 kB / 24.45 MB, free: 3.977 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.409/1.409, 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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 43.92 kB / 371.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2831, allocations: 52.17 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003726/0.2868, allocations: 1.893 MB / 425.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.2889, allocations: 1.021 MB / 426.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.289, allocations: 3.938 kB / 426.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007031/0.2897, allocations: 159.5 kB / 426.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003622/0.2901, allocations: 122.5 kB / 427 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005956/0.2907, allocations: 207.1 kB / 427.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.291, allocations: 191.4 kB / 427.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.2911, allocations: 25.53 kB / 427.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.2913, allocations: 79.69 kB / 427.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.2914, allocations: 83.55 kB / 427.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.2914, allocations: 8 kB / 427.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.2916, allocations: 55.97 kB / 427.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.99e-05/0.2917, allocations: 47.83 kB / 427.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.2918, allocations: 55.61 kB / 427.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.2922, allocations: 209.9 kB / 427.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2922, allocations: 4 kB / 427.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2922, allocations: 0 / 427.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2922, allocations: 0 / 427.9 MB, free: 10.32 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008123/0.293, allocations: 454.7 kB / 428.4 MB, free: 9.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.293, allocations: 8.031 kB / 428.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.098e-05/0.2931, allocations: 28.8 kB / 428.4 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.2935, allocations: 209.1 kB / 428.6 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.2935, allocations: 4.375 kB / 428.6 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.2935, allocations: 16.12 kB / 428.7 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.2939, allocations: 150.7 kB / 428.8 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.2939, allocations: 7.938 kB / 428.8 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.2939, allocations: 4 kB / 428.8 MB, free: 9.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.2939, allocations: 0 / 428.8 MB, free: 9.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.2941, allocations: 35.97 kB / 428.8 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005955/0.2947, allocations: 390.2 kB / 429.2 MB, free: 8.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.2949, allocations: 138.5 kB / 429.4 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.984e-05/0.295, allocations: 55.36 kB / 429.4 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.2951, allocations: 4 kB / 429.4 MB, free: 8.676 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.2952, allocations: 97.03 kB / 429.5 MB, free: 8.562 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.2952, allocations: 0 / 429.5 MB, free: 8.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004523/0.2957, allocations: 165.6 kB / 429.7 MB, free: 8.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.2958, allocations: 148.3 kB / 429.8 MB, free: 8.219 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.2961, allocations: 260.9 kB / 430.1 MB, free: 7.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.2961, allocations: 33.7 kB / 430.1 MB, free: 7.918 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.2962, allocations: 120.4 kB / 430.2 MB, free: 7.793 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.2963, allocations: 19.89 kB / 430.2 MB, free: 7.773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/0.2963, allocations: 25.72 kB / 430.3 MB, free: 7.742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2965, allocations: 338.8 kB / 430.6 MB, free: 7.402 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.219e-05/0.2966, allocations: 23.98 kB / 430.6 MB, free: 7.379 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.2967, allocations: 95.89 kB / 430.7 MB, free: 7.258 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.2968, allocations: 97.05 kB / 430.8 MB, free: 7.145 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2968, allocations: 0 / 430.8 MB, free: 7.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002486/0.2971, allocations: 137.4 kB / 430.9 MB, free: 7.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.2971, allocations: 8.156 kB / 431 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2971, allocations: 0 / 431 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.2971, allocations: 4 kB / 431 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.976e-05/0.2972, allocations: 12 kB / 431 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.2972, allocations: 0 / 431 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.136e-05/0.2973, allocations: 11.92 kB / 431 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.2973, allocations: 8 kB / 431 MB, free: 6.961 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001506/0.2975, allocations: 149.7 kB / 431.1 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-05/0.2976, allocations: 65.55 kB / 431.2 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.2978, allocations: 127.4 kB / 431.3 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2978, allocations: 0 / 431.3 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.2978, allocations: 4 kB / 431.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2979, allocations: 320 / 431.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.298, allocations: 161.2 kB / 431.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.2981, allocations: 8 kB / 431.5 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.192e-05/0.2981, allocations: 4 kB / 431.5 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.2981, allocations: 4 kB / 431.5 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.2981, allocations: 0 / 431.5 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.2981, allocations: 11.92 kB / 431.5 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2981, allocations: 4 kB / 431.5 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.2984, allocations: 179.4 kB / 431.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-05/0.2985, allocations: 39.77 kB / 431.7 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.2985, allocations: 8 kB / 431.7 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.423e-05/0.2986, allocations: 4 kB / 431.7 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.2986, allocations: 11.92 kB / 431.8 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.2986, allocations: 4 kB / 431.8 MB, free: 6.109 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002199/0.2989, allocations: 200.5 kB / 432 MB, free: 5.914 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2989, allocations: 0 / 432 MB, free: 5.914 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.2991, allocations: 27.98 kB / 432 MB, free: 5.887 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.00173/0.3009, allocations: 460 kB / 432.4 MB, free: 5.617 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.3011, allocations: 75.84 kB / 432.5 MB, free: 5.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3011, allocations: 0 / 432.5 MB, free: 5.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.422e-05/0.3012, allocations: 31.98 kB / 432.5 MB, free: 5.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005212/0.3017, allocations: 80.92 kB / 432.6 MB, free: 5.434 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007576/0.3025, allocations: 363.2 kB / 433 MB, free: 5.039 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.3026, allocations: 123.3 kB / 433.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.3027, allocations: 19.42 kB / 433.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3027, allocations: 0 / 433.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of Templates: time 0.007393/0.3101, allocations: 2.736 MB / 435.8 MB, free: 2.145 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.294286930933595]