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.00125/0.00125, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001341/0.001341, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.529/1.529, allocations: 230.6 MB / 254.1 MB, free: 15.09 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 47.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1077, allocations: 53.33 MB / 426.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003925/0.1116, allocations: 1.94 MB / 428.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002463/0.1141, allocations: 1.239 MB / 429.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002287/0.1143, allocations: 11.88 kB / 429.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006505/0.115, allocations: 159.5 kB / 429.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000519/0.1155, allocations: 159.4 kB / 429.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005868/0.1161, allocations: 175.2 kB / 430 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003604/0.1165, allocations: 199.4 kB / 430.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1166, allocations: 25.61 kB / 430.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.1167, allocations: 83.69 kB / 430.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.1169, allocations: 87.55 kB / 430.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.1169, allocations: 8 kB / 430.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.1171, allocations: 59.97 kB / 430.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.1172, allocations: 51.83 kB / 430.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.67e-05/0.1173, allocations: 71.48 kB / 430.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004412/0.1177, allocations: 226.9 kB / 430.8 MB, free: 316 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.1177, allocations: 7.984 kB / 430.8 MB, free: 308 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1177, allocations: 0 / 430.8 MB, free: 308 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1178, allocations: 0 / 430.8 MB, free: 308 kB / 350.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.2114/0.3291, allocations: 0.5236 MB / 431.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.806e-05/0.3292, allocations: 7.438 kB / 431.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.3293, allocations: 38.05 kB / 431.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/0.3293, allocations: 27.67 kB / 431.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.3297, allocations: 279.4 kB / 431.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.3297, allocations: 11.72 kB / 431.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.3297, allocations: 4.781 kB / 431.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.3301, allocations: 169 kB / 431.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3301, allocations: 8.125 kB / 431.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.3301, allocations: 1.438 kB / 431.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3301, allocations: 2.172 kB / 431.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.3302, allocations: 39.89 kB / 431.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.3307, allocations: 375.3 kB / 432.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.3309, allocations: 132.9 kB / 432.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.235e-05/0.331, allocations: 53.12 kB / 432.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.331, allocations: 7.906 kB / 432.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.3312, allocations: 73.22 kB / 432.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.3312, allocations: 3.031 kB / 432.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003771/0.3316, allocations: 161.3 kB / 432.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.3316, allocations: 168.2 kB / 432.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.332, allocations: 276.5 kB / 433.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.332, allocations: 31.23 kB / 433.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.332, allocations: 124.4 kB / 433.3 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.3321, allocations: 22.81 kB / 433.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.3321, allocations: 30.3 kB / 433.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.546e-05/0.3322, allocations: 332.5 kB / 433.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.305e-05/0.3322, allocations: 31.45 kB / 433.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.079e-05/0.3323, allocations: 83.72 kB / 433.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.3324, allocations: 98.89 kB / 433.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3324, allocations: 0 / 433.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002589/0.3327, allocations: 132.1 kB / 434 MB, free: 9.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3327, allocations: 6.438 kB / 434 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3327, allocations: 4.031 kB / 434 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3327, allocations: 4.641 kB / 434 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.88e-05/0.3328, allocations: 16.52 kB / 434 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.3328, allocations: 4.281 kB / 434 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.134e-05/0.3329, allocations: 5.531 kB / 434 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.3329, allocations: 7.547 kB / 434 MB, free: 9.492 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 9.239e-05/0.333, allocations: 152.7 kB / 434.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.678e-05/0.3331, allocations: 74.14 kB / 434.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.691e-05/0.3331, allocations: 29.95 kB / 434.3 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3331, allocations: 2.344 kB / 434.3 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3331, allocations: 1.625 kB / 434.3 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3331, allocations: 4.156 kB / 434.3 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.3333, allocations: 233.7 kB / 434.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3333, allocations: 1.812 kB / 434.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.723e-05/0.3333, allocations: 8.031 kB / 434.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3333, allocations: 2.094 kB / 434.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.3333, allocations: 7.891 kB / 434.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.3333, allocations: 5 kB / 434.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3333, allocations: 6.156 kB / 434.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.3336, allocations: 171.3 kB / 434.7 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.3337, allocations: 114.5 kB / 434.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.3337, allocations: 2.688 kB / 434.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.58e-05/0.3338, allocations: 13.2 kB / 434.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.3338, allocations: 3.844 kB / 434.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.3338, allocations: 10.59 kB / 434.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.334, allocations: 208.8 kB / 435 MB, free: 8.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.334, allocations: 0 / 435 MB, free: 8.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.3342, allocations: 31.03 kB / 435.1 MB, free: 8.832 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.001809/0.3361, allocations: 1.028 MB / 436.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002631/0.3363, allocations: 74.72 kB / 436.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3363, allocations: 8.062 kB / 436.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.443e-05/0.3364, allocations: 24.56 kB / 436.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.3368, allocations: 76.2 kB / 436.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.3389, allocations: 2.059 MB / 438.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.339, allocations: 0.7345 MB / 439.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.687e-05/0.3391, allocations: 27.92 kB / 439.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.968e-05/0.3392, allocations: 54.88 kB / 439.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3392, allocations: 1.156 kB / 439.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03334/0.3725, allocations: 5.018 MB / 444.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/8.506, allocations: 8.266 kB / 444.2 MB, free: 5.062 MB / 350.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79247e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv","/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_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv failed! Error: Could not read variable shiftSample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv. Warning: Get data of variable shiftSample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv failed! Error: Could not read variable backSample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv. Warning: Get data of variable backSample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.239564588002395]