Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00837/0.00837, allocations: 103.6 kB / 21.97 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002265/0.002265, allocations: 220.3 kB / 25.29 MB, free: 3.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.63/1.63, allocations: 230.6 MB / 259 MB, free: 8.027 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 379.8 MB, free: 2.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2457, allocations: 53.36 MB / 433.2 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003625/0.2493, allocations: 1.955 MB / 435.1 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.2516, allocations: 1.262 MB / 436.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.2518, allocations: 7.938 kB / 436.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006678/0.2524, allocations: 155.5 kB / 436.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000491/0.2529, allocations: 163.3 kB / 436.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000577/0.2535, allocations: 185.6 kB / 436.9 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.2538, allocations: 199.5 kB / 437.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.2539, allocations: 21.8 kB / 437.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.2541, allocations: 95.56 kB / 437.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.2542, allocations: 79.67 kB / 437.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.2542, allocations: 8 kB / 437.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.2544, allocations: 67.89 kB / 437.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.852e-05/0.2545, allocations: 55.7 kB / 437.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.981e-05/0.2546, allocations: 75.48 kB / 437.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000389/0.255, allocations: 220.3 kB / 437.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.255, allocations: 0 / 437.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.255, allocations: 0 / 437.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.255, allocations: 4 kB / 437.7 MB, free: 2.453 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.0008376/0.2558, allocations: 458.6 kB / 438.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2559, allocations: 12.03 kB / 438.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/0.2559, allocations: 28.78 kB / 438.2 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.2563, allocations: 225 kB / 438.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.2563, allocations: 8.375 kB / 438.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.2564, allocations: 12.12 kB / 438.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.2567, allocations: 174.2 kB / 438.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.2568, allocations: 0 / 438.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.2568, allocations: 4 kB / 438.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2568, allocations: 4 kB / 438.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.2569, allocations: 43.91 kB / 438.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005383/0.2574, allocations: 342.3 kB / 439 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.2577, allocations: 134.5 kB / 439.1 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.638e-05/0.2578, allocations: 47.42 kB / 439.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.2578, allocations: 11.94 kB / 439.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.258, allocations: 71.39 kB / 439.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.258, allocations: 0 / 439.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004129/0.2584, allocations: 157.7 kB / 439.4 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.2585, allocations: 166.2 kB / 439.5 MB, free: 364 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.2589, allocations: 281.9 kB / 439.8 MB, free: 72 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.2589, allocations: 25.7 kB / 439.8 MB, free: 40 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.259, allocations: 124.4 kB / 440 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.259, allocations: 27.84 kB / 440 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.2591, allocations: 33.7 kB / 440 MB, free: 15.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2592, allocations: 338.8 kB / 440.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.658e-05/0.2593, allocations: 20 kB / 440.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.2594, allocations: 83.64 kB / 440.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.2596, allocations: 97.91 kB / 440.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.2596, allocations: 4 kB / 440.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000243/0.2598, allocations: 133.4 kB / 440.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2599, allocations: 4 kB / 440.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2599, allocations: 4.312 kB / 440.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2599, allocations: 0 / 440.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.258e-05/0.26, allocations: 12 kB / 440.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.26, allocations: 15.92 kB / 440.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.006e-05/0.2601, allocations: 11.88 kB / 440.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.2601, allocations: 8 kB / 440.7 MB, free: 15.06 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.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 (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.0001509/0.2602, allocations: 150.9 kB / 440.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.2603, allocations: 77.48 kB / 441 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.2606, allocations: 111.3 kB / 441.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2606, allocations: 0 / 441.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2606, allocations: 4 kB / 441.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2606, allocations: 3.938 kB / 441.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.2608, allocations: 204.5 kB / 441.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2608, allocations: 0 / 441.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.2609, allocations: 16.09 kB / 441.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2609, allocations: 0 / 441.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.2609, allocations: 7.984 kB / 441.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2609, allocations: 0 / 441.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2609, allocations: 0 / 441.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.2612, allocations: 183.4 kB / 441.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.559e-05/0.2612, allocations: 27.88 kB / 441.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.2613, allocations: 8 kB / 441.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-05/0.2613, allocations: 4 kB / 441.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.2614, allocations: 7.984 kB / 441.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.2614, allocations: 7.938 kB / 441.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002244/0.2616, allocations: 205.2 kB / 441.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2616, allocations: 0 / 441.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.2619, allocations: 39.92 kB / 441.8 MB, free: 13.93 MB / 350.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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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 (11): * Single equations (assignments): 9 * 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.001504/0.2634, allocations: 417.1 kB / 442.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.2637, allocations: 79.84 kB / 442.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2637, allocations: 0 / 442.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.482e-05/0.2637, allocations: 23.92 kB / 442.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.2642, allocations: 91.22 kB / 442.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006646/0.2649, allocations: 378.4 kB / 442.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.2652, allocations: 0.736 MB / 443.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.2653, allocations: 19.44 kB / 443.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2653, allocations: 4 kB / 443.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Templates: time 0.005652/0.2709, allocations: 2.852 MB / 446.4 MB, free: 9.457 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.961212120018899]