Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.0009497/0.0009497, allocations: 80.92 kB / 21.49 MB, free: 2.992 MB / 18.57 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.0009508/0.0009508, allocations: 171 kB / 24.91 MB, free: 8.762 MB / 18.57 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 0.9367/0.9367, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_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_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.592e-05, allocations: 6.312 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.0024/0.002416, allocations: 1.962 MB / 275.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.00388, allocations: 1.225 MB / 276.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.004001, allocations: 7.938 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004909/0.004492, allocations: 155.4 kB / 276.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.00479, allocations: 163.2 kB / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.005156, allocations: 187.3 kB / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.005365, allocations: 199.4 kB / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.228e-05/0.005448, allocations: 26.44 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.005568, allocations: 111.7 kB / 277.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.485e-05/0.005662, allocations: 71.78 kB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.00568, allocations: 8 kB / 277.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.005786, allocations: 59.84 kB / 277.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.561e-05/0.005842, allocations: 43.84 kB / 277.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.005887, allocations: 47.84 kB / 277.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000495/0.006382, allocations: 171.3 kB / 277.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.006384, allocations: 0 / 277.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.006385, allocations: 0 / 277.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.006388, allocations: 0 / 277.9 MB, free: 12.88 MB / 266.7 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.0004175/0.006806, allocations: 425.3 kB / 278.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.006836, allocations: 12.03 kB / 278.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.006874, allocations: 20.92 kB / 278.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.007086, allocations: 233.4 kB / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.0071, allocations: 4.312 kB / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.007118, allocations: 12.38 kB / 278.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.007293, allocations: 138.1 kB / 278.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.007302, allocations: 7.938 kB / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.007309, allocations: 0 / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.007313, allocations: 0 / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.356e-05/0.007346, allocations: 26.75 kB / 278.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.007577, allocations: 216.4 kB / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.007687, allocations: 149.2 kB / 279.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.007722, allocations: 39.44 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.007737, allocations: 3.938 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.882e-05/0.007816, allocations: 78.12 kB / 279.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.007817, allocations: 4 kB / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001303/0.007947, allocations: 89.53 kB / 279.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.007997, allocations: 132.5 kB / 279.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.008149, allocations: 238.6 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.008163, allocations: 25.7 kB / 279.7 MB, free: 10.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.008206, allocations: 112.9 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.008223, allocations: 15.83 kB / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.008256, allocations: 30.06 kB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.793e-05/0.008333, allocations: 334.8 kB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/0.008347, allocations: 6.828 kB / 280.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.19e-05/0.008379, allocations: 60.14 kB / 280.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.612e-05/0.008415, allocations: 35.34 kB / 280.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.008417, allocations: 0 / 280.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.695e-05/0.008484, allocations: 72.38 kB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.008495, allocations: 8 kB / 280.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.008499, allocations: 0 / 280.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.008509, allocations: 0 / 280.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.509e-05/0.008554, allocations: 16.05 kB / 280.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.008557, allocations: 3.984 kB / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.839e-05/0.008586, allocations: 8.266 kB / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.008592, allocations: 8 kB / 280.4 MB, free: 10.08 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.752e-05/0.008659, allocations: 123 kB / 280.5 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.008704, allocations: 65.55 kB / 280.5 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.395e-05/0.008788, allocations: 75.44 kB / 280.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.00879, allocations: 0 / 280.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.008793, allocations: 96 / 280.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.008796, allocations: 8 kB / 280.6 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.656e-05/0.008893, allocations: 109.8 kB / 280.7 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.008894, allocations: 0 / 280.7 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.088e-05/0.008915, allocations: 15.92 kB / 280.8 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.008916, allocations: 0 / 280.8 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.008923, allocations: 3.938 kB / 280.8 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.008926, allocations: 4 kB / 280.8 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.008927, allocations: 0 / 280.8 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.222e-05/0.009009, allocations: 109.3 kB / 280.9 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.009051, allocations: 31.84 kB / 280.9 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.009069, allocations: 11.94 kB / 280.9 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.982e-05/0.009099, allocations: 3.984 kB / 280.9 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.00913, allocations: 11.94 kB / 280.9 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.00914, allocations: 7.984 kB / 280.9 MB, free: 9.438 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.468e-05/0.009205, allocations: 81.61 kB / 281 MB, free: 9.355 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009205, allocations: 0 / 281 MB, free: 9.355 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001346/0.009339, allocations: 31.94 kB / 281 MB, free: 9.324 MB / 266.7 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 (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.001004/0.01034, allocations: 0.5175 MB / 281.6 MB, free: 9.035 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.279e-05/0.01044, allocations: 44.77 kB / 281.6 MB, free: 8.988 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.01044, allocations: 4 kB / 281.6 MB, free: 8.984 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.181e-05/0.01047, allocations: 24.83 kB / 281.6 MB, free: 8.957 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.01067, allocations: 80.03 kB / 281.7 MB, free: 8.887 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.01103, allocations: 316.3 kB / 282 MB, free: 8.543 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.542e-05/0.01108, allocations: 84.31 kB / 282.1 MB, free: 8.441 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.62e-05/0.01113, allocations: 21.48 kB / 282.1 MB, free: 8.414 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.675e-05/0.01121, allocations: 87.34 kB / 282.2 MB, free: 8.328 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01121, allocations: 0 / 282.2 MB, free: 8.328 MB / 266.7 MB Notification: Performance of Templates: time 0.005243/0.01646, allocations: 3.087 MB / 285.3 MB, free: 5.305 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6916225091554224]