Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.001615/0.001615, allocations: 107.6 kB / 21.19 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.001451/0.001451, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.514/1.514, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 55.91 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2269, allocations: 53.36 MB / 432.3 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003727/0.2306, allocations: 1.888 MB / 434.2 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.2329, allocations: 1.157 MB / 435.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.233, allocations: 0 / 435.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00066/0.2337, allocations: 155.5 kB / 435.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004549/0.2341, allocations: 166.6 kB / 435.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.2346, allocations: 175.4 kB / 435.9 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.2349, allocations: 187.5 kB / 436 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.2351, allocations: 25.53 kB / 436.1 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.2352, allocations: 75.7 kB / 436.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.2353, allocations: 91.55 kB / 436.2 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.2354, allocations: 8 kB / 436.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.2355, allocations: 55.95 kB / 436.3 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.774e-05/0.2356, allocations: 43.83 kB / 436.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.528e-05/0.2357, allocations: 59.55 kB / 436.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003659/0.236, allocations: 214.3 kB / 436.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.236, allocations: 4 kB / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.236, allocations: 0 / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.2361, allocations: 0 / 436.6 MB, free: 2.562 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.0008432/0.2369, allocations: 454.7 kB / 437 MB, free: 2.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2369, allocations: 8.031 kB / 437.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.799e-05/0.237, allocations: 24.78 kB / 437.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.2374, allocations: 205.2 kB / 437.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.2374, allocations: 4.375 kB / 437.3 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.2374, allocations: 16.12 kB / 437.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.2378, allocations: 137.9 kB / 437.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.2378, allocations: 4 kB / 437.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.2378, allocations: 0 / 437.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2378, allocations: 0 / 437.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.2379, allocations: 35.92 kB / 437.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.2384, allocations: 306 kB / 437.8 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.2386, allocations: 107.9 kB / 437.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.767e-05/0.2387, allocations: 42.56 kB / 437.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.2388, allocations: 4 kB / 437.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.2389, allocations: 71.38 kB / 438 MB, free: 1.004 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.2389, allocations: 3.938 kB / 438 MB, free: 1 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003848/0.2393, allocations: 145.5 kB / 438.1 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.935e-05/0.2394, allocations: 115.1 kB / 438.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.2397, allocations: 269.1 kB / 438.5 MB, free: 456 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.2397, allocations: 29.7 kB / 438.5 MB, free: 420 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.2398, allocations: 128 kB / 438.7 MB, free: 288 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.2399, allocations: 15.91 kB / 438.7 MB, free: 272 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.2399, allocations: 29.66 kB / 438.7 MB, free: 236 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.2401, allocations: 334.8 kB / 439 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.307e-05/0.2402, allocations: 19.98 kB / 439.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.2403, allocations: 94.78 kB / 439.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.2404, allocations: 84.5 kB / 439.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2404, allocations: 3.938 kB / 439.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002196/0.2406, allocations: 113.5 kB / 439.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2407, allocations: 4 kB / 439.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2407, allocations: 4 kB / 439.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.2407, allocations: 3.938 kB / 439.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.009e-05/0.2408, allocations: 24.11 kB / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2408, allocations: 0 / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.624e-05/0.2408, allocations: 7.953 kB / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.2408, allocations: 4 kB / 439.4 MB, free: 15.49 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,sample1.u,shiftSample1.y,shiftSample1.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.0001368/0.241, allocations: 154.4 kB / 439.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.41e-05/0.2411, allocations: 61.59 kB / 439.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.2413, allocations: 123.3 kB / 439.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2413, allocations: 4 kB / 439.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/0.2413, allocations: 64 / 439.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2413, allocations: 4 kB / 439.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.2415, allocations: 173.2 kB / 439.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2415, allocations: 0 / 439.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.525e-05/0.2416, allocations: 7.984 kB / 439.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.2416, allocations: 4 kB / 439.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.2416, allocations: 0 / 439.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.2416, allocations: 4 kB / 439.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2416, allocations: 0 / 439.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.2419, allocations: 166.5 kB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.368e-05/0.2419, allocations: 31.84 kB / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.242, allocations: 8 kB / 440.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.086e-05/0.242, allocations: 8.062 kB / 440.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.2421, allocations: 7.984 kB / 440.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.2421, allocations: 4 kB / 440.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002209/0.2423, allocations: 208.4 kB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2423, allocations: 0 / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.2426, allocations: 31.92 kB / 440.4 MB, free: 14.43 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,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 (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.001626/0.2442, allocations: 441.8 kB / 440.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.2445, allocations: 79.84 kB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2445, allocations: 0 / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.2445, allocations: 27.92 kB / 440.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.245, allocations: 72.41 kB / 441 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006812/0.2456, allocations: 351.4 kB / 441.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.2458, allocations: 123.8 kB / 441.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.332e-05/0.2458, allocations: 23.44 kB / 441.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2458, allocations: 3.938 kB / 441.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of Templates: time 0.005182/0.251, allocations: 2.708 MB / 444.2 MB, free: 10.76 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.640512034995481]