Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001395/0.001395, allocations: 111 kB / 21.18 MB, free: 0.6758 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.00149/0.00149, allocations: 208.2 kB / 24.48 MB, free: 3.977 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.488/1.488, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 43.92 kB / 379 MB, free: 2.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2291, allocations: 53.37 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003395/0.2325, allocations: 1.888 MB / 434.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.2346, allocations: 1.157 MB / 435.4 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.2347, allocations: 7.938 kB / 435.4 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005933/0.2353, allocations: 155.4 kB / 435.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004005/0.2357, allocations: 163.4 kB / 435.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.2362, allocations: 175.4 kB / 435.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.2364, allocations: 187.5 kB / 436 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2365, allocations: 25.72 kB / 436.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.2366, allocations: 79.64 kB / 436.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.2368, allocations: 79.61 kB / 436.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.2368, allocations: 8 kB / 436.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.2369, allocations: 63.95 kB / 436.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.237, allocations: 47.84 kB / 436.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.414e-05/0.2371, allocations: 59.55 kB / 436.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.2374, allocations: 204.8 kB / 436.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.2374, allocations: 0 / 436.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2374, allocations: 0 / 436.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.2374, allocations: 7.984 kB / 436.6 MB, free: 2.441 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007245/0.2381, allocations: 454.7 kB / 437.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.2381, allocations: 8.031 kB / 437.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.2382, allocations: 24.8 kB / 437.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.2385, allocations: 205.2 kB / 437.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.2385, allocations: 8.375 kB / 437.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.2386, allocations: 8.125 kB / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.2389, allocations: 144.6 kB / 437.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2389, allocations: 0 / 437.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.2389, allocations: 0 / 437.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.2389, allocations: 4 kB / 437.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.239, allocations: 39.92 kB / 437.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.2395, allocations: 298 kB / 437.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.2397, allocations: 111.9 kB / 437.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.693e-05/0.2398, allocations: 46.5 kB / 437.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.2398, allocations: 0 / 437.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.24, allocations: 79.38 kB / 438 MB, free: 0.875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.24, allocations: 0 / 438 MB, free: 0.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003677/0.2404, allocations: 149.4 kB / 438.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.753e-05/0.2404, allocations: 106.8 kB / 438.3 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.2407, allocations: 281 kB / 438.5 MB, free: 320 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.2408, allocations: 25.7 kB / 438.6 MB, free: 288 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.2408, allocations: 120.1 kB / 438.7 MB, free: 164 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.2409, allocations: 19.97 kB / 438.7 MB, free: 144 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.2409, allocations: 37.66 kB / 438.7 MB, free: 100 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.2411, allocations: 330.8 kB / 439.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.77e-05/0.2412, allocations: 24.23 kB / 439.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.2413, allocations: 94.78 kB / 439.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.2414, allocations: 76.22 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2414, allocations: 0 / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002273/0.2416, allocations: 113.5 kB / 439.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2417, allocations: 16.14 kB / 439.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2417, allocations: 0 / 439.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2417, allocations: 0 / 439.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.786e-05/0.2417, allocations: 15.94 kB / 439.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2417, allocations: 0 / 439.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.2418, allocations: 11.98 kB / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.2418, allocations: 4 kB / 439.4 MB, free: 15.37 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001335/0.242, allocations: 150.8 kB / 439.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.413e-05/0.242, allocations: 65.5 kB / 439.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.2423, allocations: 123.4 kB / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2423, allocations: 0 / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.2423, allocations: 4 kB / 439.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.2423, allocations: 7.969 kB / 439.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.2425, allocations: 165.2 kB / 439.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2425, allocations: 0 / 439.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.2425, allocations: 8 kB / 439.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2425, allocations: 0 / 439.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.2425, allocations: 8 kB / 439.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2425, allocations: 0 / 439.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2425, allocations: 0 / 439.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.2428, allocations: 174.5 kB / 440.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-05/0.2429, allocations: 35.83 kB / 440.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.2429, allocations: 4 kB / 440.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.824e-05/0.243, allocations: 7.984 kB / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.243, allocations: 4 kB / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.2431, allocations: 7.984 kB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002093/0.2433, allocations: 200.5 kB / 440.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2433, allocations: 3.938 kB / 440.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.2435, allocations: 31.94 kB / 440.4 MB, free: 14.31 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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 (10): * Single equations (assignments): 8 * 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.001637/0.2452, allocations: 454.4 kB / 440.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.2454, allocations: 67.84 kB / 440.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.2454, allocations: 0 / 440.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.835e-05/0.2455, allocations: 31.92 kB / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.2459, allocations: 60.88 kB / 441 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005638/0.2464, allocations: 326.1 kB / 441.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.2466, allocations: 127.2 kB / 441.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.817e-05/0.2466, allocations: 21.62 kB / 441.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.2467, allocations: 23.38 kB / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2467, allocations: 0 / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of Templates: time 0.00647/0.2532, allocations: 2.688 MB / 444.2 MB, free: 10.71 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.368564531003358]