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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 114.6 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.00141, allocations: 189.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 42.97 kB / 300.2 MB, free: 6.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1244, allocations: 49.45 MB / 349.7 MB, free: 4.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003754/0.1283, allocations: 1.956 MB / 351.6 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.1302, allocations: 1.048 MB / 352.7 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.1303, allocations: 7.938 kB / 352.7 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007596/0.1311, allocations: 151.6 kB / 352.9 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.1315, allocations: 107.6 kB / 353 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.1321, allocations: 190.9 kB / 353.1 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.1324, allocations: 195.5 kB / 353.3 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.1325, allocations: 29.67 kB / 353.4 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.1327, allocations: 83.62 kB / 353.4 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.1328, allocations: 79.62 kB / 353.5 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.1329, allocations: 12 kB / 353.5 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.133, allocations: 51.92 kB / 353.6 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.223e-05/0.1331, allocations: 47.83 kB / 353.6 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.1332, allocations: 71.55 kB / 353.7 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.1336, allocations: 211.6 kB / 353.9 MB, free: 336 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1336, allocations: 3.938 kB / 353.9 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1336, allocations: 0 / 353.9 MB, free: 332 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.1336, allocations: 0 / 353.9 MB, free: 332 kB / 286.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.0009194/0.1345, allocations: 0.5234 MB / 354.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1346, allocations: 8.031 kB / 354.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.1347, allocations: 38.75 kB / 354.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.949e-05/0.1347, allocations: 20.66 kB / 354.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.1351, allocations: 270.8 kB / 354.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.1352, allocations: 4.375 kB / 354.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.1352, allocations: 15.92 kB / 354.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.1356, allocations: 167.5 kB / 354.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1356, allocations: 0 / 354.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.1357, allocations: 7.984 kB / 355 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.1357, allocations: 0 / 355 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1358, allocations: 35.92 kB / 355 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006443/0.1365, allocations: 383.2 kB / 355.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.1368, allocations: 138.5 kB / 355.5 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.1369, allocations: 55.42 kB / 355.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.1369, allocations: 0 / 355.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.1371, allocations: 83.31 kB / 355.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.1371, allocations: 0 / 355.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003901/0.1375, allocations: 157.2 kB / 355.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.1376, allocations: 166.5 kB / 356 MB, free: 13.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.1379, allocations: 276.9 kB / 356.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.1379, allocations: 29.7 kB / 356.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.11e-05/0.138, allocations: 120.3 kB / 356.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.1381, allocations: 11.91 kB / 356.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.25e-05/0.1382, allocations: 33.61 kB / 356.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1383, allocations: 334.8 kB / 356.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.076e-05/0.1384, allocations: 20 kB / 356.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.1385, allocations: 91.58 kB / 356.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.1386, allocations: 97.97 kB / 356.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1386, allocations: 0 / 356.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000232/0.1389, allocations: 129.5 kB / 357.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1389, allocations: 4 kB / 357.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1389, allocations: 4 kB / 357.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1389, allocations: 4.188 kB / 357.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.969e-05/0.139, allocations: 16 kB / 357.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.139, allocations: 7.984 kB / 357.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.151e-05/0.1391, allocations: 11.88 kB / 357.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1391, allocations: 4 kB / 357.1 MB, free: 12.73 MB / 302.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.0001362/0.1393, allocations: 145.8 kB / 357.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.995e-05/0.1394, allocations: 77.34 kB / 357.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.862e-05/0.1394, allocations: 29.8 kB / 357.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1394, allocations: 0 / 357.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1395, allocations: 4 kB / 357.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1395, allocations: 3.938 kB / 357.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.1397, allocations: 233.6 kB / 357.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1397, allocations: 0 / 357.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.663e-05/0.1397, allocations: 4 kB / 357.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1397, allocations: 4 kB / 357.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1397, allocations: 0 / 357.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.1398, allocations: 7.938 kB / 357.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1398, allocations: 4 kB / 357.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.14, allocations: 175.3 kB / 357.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.645e-05/0.1401, allocations: 112.8 kB / 357.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.1402, allocations: 4 kB / 357.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.1403, allocations: 11.98 kB / 357.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.1403, allocations: 11.92 kB / 357.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.1403, allocations: 8 kB / 357.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000189/0.1405, allocations: 196.5 kB / 358.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.905e-06/0.1405, allocations: 0 / 358.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.1408, allocations: 35.94 kB / 358.2 MB, free: 11.57 MB / 302.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.001738/0.1426, allocations: 1.019 MB / 359.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002488/0.1428, allocations: 75.84 kB / 359.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.1428, allocations: 8.375 kB / 359.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.138e-05/0.1429, allocations: 27.92 kB / 359.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.1434, allocations: 87.25 kB / 359.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.1461, allocations: 2.06 MB / 361.4 MB, free: 8.281 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.1467, allocations: 0.732 MB / 362.2 MB, free: 7.523 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.1468, allocations: 25.53 kB / 362.2 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.1469, allocations: 55.41 kB / 362.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1469, allocations: 0 / 362.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.1762, allocations: 4.695 MB / 366.9 MB, free: 2.922 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.1764, allocations: 261.2 kB / 367.2 MB, free: 2.625 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/2.401, allocations: 0 / 367.2 MB, free: 2.625 MB / 302.1 MB (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 --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) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches