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.00193/0.00193, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002131/0.002131, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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 1.562/1.562, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 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.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.733e-06/1.733e-06, allocations: 0 / 272.3 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.791e-05, allocations: 2.312 kB / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.00407/0.004098, allocations: 1.952 MB / 274.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.006507, allocations: 1.191 MB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.006635, allocations: 7.938 kB / 275.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006449/0.00728, allocations: 159.3 kB / 275.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004245/0.007704, allocations: 167.2 kB / 275.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.008208, allocations: 167.3 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.00853, allocations: 215.3 kB / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.008648, allocations: 13.81 kB / 276.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.008845, allocations: 119.6 kB / 276.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.008994, allocations: 71.8 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.009028, allocations: 8 kB / 276.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.009194, allocations: 59.89 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.38e-05/0.009288, allocations: 47.78 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.501e-05/0.009373, allocations: 43.84 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.009795, allocations: 219.2 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.009799, allocations: 0 / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.162e-06/0.009806, allocations: 4 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.009813, allocations: 0 / 276.7 MB, free: 13.42 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.001034/0.01085, allocations: 0.567 MB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.01089, allocations: 8.031 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.01099, allocations: 32.8 kB / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.01141, allocations: 231.5 kB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.01143, allocations: 8.375 kB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.01144, allocations: 4.375 kB / 277.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.01187, allocations: 180.2 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.01188, allocations: 3.938 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.01191, allocations: 4 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.01192, allocations: 4 kB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.01204, allocations: 35.91 kB / 277.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.01267, allocations: 390.7 kB / 278.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.01299, allocations: 168.3 kB / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.01311, allocations: 66.73 kB / 278.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.01314, allocations: 7.984 kB / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.01333, allocations: 77.05 kB / 278.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.01333, allocations: 0 / 278.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004307/0.01376, allocations: 157.4 kB / 278.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.01388, allocations: 136.5 kB / 278.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.01427, allocations: 340.3 kB / 279.1 MB, free: 10.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.01431, allocations: 34.08 kB / 279.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.01448, allocations: 191.1 kB / 279.3 MB, free: 10.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.0145, allocations: 15.91 kB / 279.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-05/0.01457, allocations: 39.36 kB / 279.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000582/0.01515, allocations: 0.5079 MB / 279.9 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-05/0.01522, allocations: 19.98 kB / 279.9 MB, free: 9.926 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.783e-05/0.01532, allocations: 64.77 kB / 280 MB, free: 9.844 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.01544, allocations: 67.48 kB / 280 MB, free: 9.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.01544, allocations: 0 / 280 MB, free: 9.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001876/0.01563, allocations: 89.59 kB / 280.1 MB, free: 9.676 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.01565, allocations: 12.06 kB / 280.1 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.01565, allocations: 0 / 280.1 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.01567, allocations: 0 / 280.1 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.904e-05/0.01577, allocations: 15.92 kB / 280.1 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.01578, allocations: 4 kB / 280.2 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.337e-05/0.01584, allocations: 11.89 kB / 280.2 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.01585, allocations: 0 / 280.2 MB, free: 9.633 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 0.0001592/0.01601, allocations: 172.5 kB / 280.3 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.01614, allocations: 85.42 kB / 280.4 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.0164, allocations: 115.5 kB / 280.5 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.0164, allocations: 4 kB / 280.5 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01641, allocations: 0 / 280.5 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.01642, allocations: 7.984 kB / 280.5 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.01668, allocations: 200.5 kB / 280.7 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01668, allocations: 0 / 280.7 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.992e-05/0.01672, allocations: 12 kB / 280.7 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01672, allocations: 0 / 280.7 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.01673, allocations: 4 kB / 280.8 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01674, allocations: 0 / 280.8 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.01674, allocations: 4 kB / 280.8 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.01706, allocations: 207.1 kB / 281 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.484e-05/0.01715, allocations: 35.84 kB / 281 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.01718, allocations: 8 kB / 281 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.652e-05/0.01724, allocations: 7.984 kB / 281 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.01729, allocations: 8 kB / 281 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.01731, allocations: 11.92 kB / 281 MB, free: 8.668 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002446/0.01756, allocations: 229.1 kB / 281.3 MB, free: 8.445 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01756, allocations: 0 / 281.3 MB, free: 8.445 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002568/0.01781, allocations: 28 kB / 281.3 MB, free: 8.418 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.002916/0.02073, allocations: 454.2 kB / 281.7 MB, free: 8.156 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.02095, allocations: 71.61 kB / 281.8 MB, free: 8.082 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.02095, allocations: 4 kB / 281.8 MB, free: 8.078 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.531e-05/0.02104, allocations: 35.67 kB / 281.8 MB, free: 8.039 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.0215, allocations: 85.84 kB / 281.9 MB, free: 7.957 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006523/0.02216, allocations: 341.2 kB / 282.2 MB, free: 7.586 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.0223, allocations: 127.6 kB / 282.4 MB, free: 7.441 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.105e-05/0.02236, allocations: 13.48 kB / 282.4 MB, free: 7.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.02242, allocations: 28.42 kB / 282.4 MB, free: 7.398 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02242, allocations: 0 / 282.4 MB, free: 7.398 MB / 266.7 MB Notification: Performance of Templates: time 0.007557/0.02998, allocations: 2.845 MB / 285.3 MB, free: 4.609 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.500770485959947]