Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",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.0008973/0.0008972, allocations: 93.89 kB / 16.65 MB, free: 6.59 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.0008704/0.0008703, allocations: 182.1 kB / 17.56 MB, free: 6.203 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.606/1.606, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002807/0.0002807, allocations: 7.984 kB / 301.5 MB, free: 5.785 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1269, allocations: 50.42 MB / 352 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002818/0.1297, allocations: 1.586 MB / 353.5 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.132, allocations: 1.002 MB / 354.5 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.1323, allocations: 4 kB / 354.5 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007906/0.1331, allocations: 139.6 kB / 354.7 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003907/0.1335, allocations: 99.7 kB / 354.8 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007425/0.1343, allocations: 178.9 kB / 355 MB, free: 348 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.1346, allocations: 179.5 kB / 355.1 MB, free: 168 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.1348, allocations: 33.52 kB / 355.2 MB, free: 136 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.1349, allocations: 63.59 kB / 355.2 MB, free: 72 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.1351, allocations: 71.69 kB / 355.3 MB, free: 0 / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.1351, allocations: 0 / 355.3 MB, free: 0 / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.1353, allocations: 43.98 kB / 355.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.551e-05/0.1354, allocations: 39.77 kB / 355.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.1356, allocations: 89.25 kB / 355.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.1359, allocations: 191.6 kB / 355.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.136, allocations: 0 / 355.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.136, allocations: 0 / 355.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.136, allocations: 0 / 355.6 MB, free: 15.64 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009266/0.1369, allocations: 492.3 kB / 356.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.137, allocations: 8.031 kB / 356.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.182e-05/0.137, allocations: 46.67 kB / 356.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.663e-05/0.1371, allocations: 16.75 kB / 356.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.1375, allocations: 258.9 kB / 356.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1375, allocations: 384 / 356.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.1376, allocations: 15.88 kB / 356.5 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.1379, allocations: 142.7 kB / 356.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.138, allocations: 0 / 356.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.138, allocations: 7.984 kB / 356.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.138, allocations: 4 kB / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.1381, allocations: 31.92 kB / 356.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006349/0.1388, allocations: 362.3 kB / 357 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.139, allocations: 111.9 kB / 357.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.644e-05/0.1391, allocations: 46.56 kB / 357.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.1392, allocations: 4.062 kB / 357.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.1394, allocations: 75.39 kB / 357.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.1394, allocations: 0 / 357.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004084/0.1398, allocations: 141.3 kB / 357.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.1399, allocations: 140.5 kB / 357.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.1402, allocations: 268.8 kB / 357.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.1403, allocations: 29.7 kB / 357.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1404, allocations: 116.1 kB / 357.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.1404, allocations: 19.75 kB / 357.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.1405, allocations: 21.95 kB / 358 MB, free: 13.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1406, allocations: 330.8 kB / 358.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.695e-05/0.1407, allocations: 19.98 kB / 358.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.1408, allocations: 73.88 kB / 358.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.141, allocations: 76.25 kB / 358.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.141, allocations: 0 / 358.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002429/0.1412, allocations: 113.4 kB / 358.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1412, allocations: 4 kB / 358.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1413, allocations: 0 / 358.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1413, allocations: 8.125 kB / 358.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.963e-05/0.1414, allocations: 11.94 kB / 358.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1414, allocations: 7.984 kB / 358.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.028e-05/0.1415, allocations: 23.77 kB / 358.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1415, allocations: 4 kB / 358.6 MB, free: 12.33 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001502/0.1416, allocations: 138.8 kB / 358.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.605e-05/0.1417, allocations: 61.45 kB / 358.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.28e-05/0.1418, allocations: 29.77 kB / 358.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1418, allocations: 0 / 358.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1418, allocations: 0 / 358.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1418, allocations: 7.938 kB / 358.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.1421, allocations: 225.5 kB / 359.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1421, allocations: 0 / 359.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.969e-05/0.1421, allocations: 8.25 kB / 359.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.1421, allocations: 4 kB / 359.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1421, allocations: 4 kB / 359.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1422, allocations: 0 / 359.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1422, allocations: 4 kB / 359.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.1424, allocations: 166.4 kB / 359.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.445e-05/0.1425, allocations: 100.9 kB / 359.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.1426, allocations: 11.98 kB / 359.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.141e-05/0.1426, allocations: 4 kB / 359.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.1427, allocations: 7.938 kB / 359.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.1427, allocations: 15.98 kB / 359.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002034/0.1429, allocations: 188.5 kB / 359.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1429, allocations: 96 / 359.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1432, allocations: 35.92 kB / 359.6 MB, free: 11.22 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.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 (9): * Single equations (assignments): 7 * 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.001516/0.1447, allocations: 1.002 MB / 360.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.145, allocations: 67.86 kB / 360.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.145, allocations: 0 / 360.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.513e-05/0.1451, allocations: 23.98 kB / 360.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.1455, allocations: 64.8 kB / 360.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.1483, allocations: 1.943 MB / 362.7 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.1487, allocations: 0.736 MB / 363.4 MB, free: 7.355 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000118/0.1488, allocations: 21.55 kB / 363.5 MB, free: 7.336 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.149, allocations: 47.41 kB / 363.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.149, allocations: 0 / 363.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.1673, allocations: 4.038 MB / 367.5 MB, free: 3.426 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/0.1676, allocations: 262.6 kB / 367.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.201/2.369, allocations: 0 / 367.8 MB, free: 3.168 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches