Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007979/0.0007979, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 157 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9207/0.9207, allocations: 173.4 MB / 200.4 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.678e-05, allocations: 6.219 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.0031/0.003126, allocations: 1.879 MB / 320.3 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.004496, allocations: 1.036 MB / 321.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.004633, allocations: 11.81 kB / 321.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009316/0.005564, allocations: 155.5 kB / 321.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.005828, allocations: 121.9 kB / 321.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.006294, allocations: 223.1 kB / 321.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.006518, allocations: 191.4 kB / 322 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.006638, allocations: 29.73 kB / 322.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.006768, allocations: 99.72 kB / 322.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.006889, allocations: 71.78 kB / 322.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.006916, allocations: 8 kB / 322.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.007046, allocations: 63.83 kB / 322.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.958e-05/0.007115, allocations: 39.86 kB / 322.3 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.007181, allocations: 47.78 kB / 322.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.007509, allocations: 207.3 kB / 322.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.007514, allocations: 4 kB / 322.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.007516, allocations: 0 / 322.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.007523, allocations: 0 / 322.6 MB, free: 2.184 MB / 282.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.0007905/0.008314, allocations: 461.9 kB / 323 MB, free: 1.699 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.008362, allocations: 8.922 kB / 323.1 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.008403, allocations: 42.73 kB / 323.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.008454, allocations: 20.8 kB / 323.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.008808, allocations: 220.8 kB / 323.3 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.008829, allocations: 4.375 kB / 323.3 MB, free: 1.371 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.008848, allocations: 8.375 kB / 323.3 MB, free: 1.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.009184, allocations: 166.9 kB / 323.5 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.009193, allocations: 0 / 323.5 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.009211, allocations: 8 kB / 323.5 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.009217, allocations: 0 / 323.5 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.347e-05/0.00931, allocations: 39.91 kB / 323.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.009716, allocations: 330.4 kB / 323.9 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.009888, allocations: 130.5 kB / 324 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.024e-05/0.009948, allocations: 55.42 kB / 324.1 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.009977, allocations: 3.984 kB / 324.1 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.01011, allocations: 79.33 kB / 324.1 MB, free: 440 kB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.01011, allocations: 0 / 324.1 MB, free: 440 kB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002974/0.01041, allocations: 165.4 kB / 324.3 MB, free: 268 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.01047, allocations: 136.5 kB / 324.4 MB, free: 100 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.01069, allocations: 269.9 kB / 324.7 MB, free: 15.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.01071, allocations: 29.7 kB / 324.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/0.01078, allocations: 128.4 kB / 324.9 MB, free: 15.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.0108, allocations: 15.84 kB / 324.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000416/0.01122, allocations: 33.64 kB / 324.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.01132, allocations: 330.8 kB / 325.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.483e-05/0.01136, allocations: 24.3 kB / 325.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.638e-05/0.01143, allocations: 76.27 kB / 325.3 MB, free: 15.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.571e-05/0.0115, allocations: 53.64 kB / 325.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01151, allocations: 0 / 325.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001317/0.01164, allocations: 93.91 kB / 325.5 MB, free: 15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.01166, allocations: 8 kB / 325.5 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.01167, allocations: 0 / 325.5 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.01169, allocations: 3.984 kB / 325.5 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.993e-05/0.01177, allocations: 15.92 kB / 325.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.01177, allocations: 8.219 kB / 325.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.01181, allocations: 7.953 kB / 325.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.01182, allocations: 0 / 325.5 MB, free: 14.96 MB / 298.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.000107/0.01193, allocations: 141.8 kB / 325.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/0.012, allocations: 73.53 kB / 325.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.0122, allocations: 115.4 kB / 325.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.0122, allocations: 7.938 kB / 325.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.01221, allocations: 0 / 325.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.01221, allocations: 8.078 kB / 325.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.01237, allocations: 196.6 kB / 326 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01237, allocations: 4 kB / 326 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.0124, allocations: 4 kB / 326 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.0124, allocations: 4 kB / 326.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.01242, allocations: 7.984 kB / 326.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.01242, allocations: 4 kB / 326.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.01242, allocations: 0 / 326.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.01261, allocations: 183.3 kB / 326.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/0.01267, allocations: 31.83 kB / 326.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.0127, allocations: 8 kB / 326.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.123e-05/0.01274, allocations: 8 kB / 326.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.01278, allocations: 7.984 kB / 326.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.0128, allocations: 4 kB / 326.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000145/0.01294, allocations: 201.2 kB / 326.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01294, allocations: 0 / 326.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002037/0.01314, allocations: 35.92 kB / 326.5 MB, free: 13.84 MB / 298.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.001269/0.01441, allocations: 1.058 MB / 327.6 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.01457, allocations: 71.89 kB / 327.7 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01457, allocations: 0 / 327.7 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.254e-05/0.01461, allocations: 23.98 kB / 327.7 MB, free: 12.85 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.01493, allocations: 76.5 kB / 327.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.01653, allocations: 1.932 MB / 329.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.434e-05/0.01662, allocations: 123.6 kB / 329.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.865e-05/0.01669, allocations: 21.62 kB / 329.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.156e-05/0.01677, allocations: 60.45 kB / 329.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01677, allocations: 4 kB / 329.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.0405, allocations: 5.749 MB / 335.6 MB, free: 4.828 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.756/6.796, allocations: 7.594 kB / 335.7 MB, free: 4.824 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79247e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.58407680504024]