Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",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.00123/0.001231, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.001642/0.001642, allocations: 175.5 kB / 17.56 MB, free: 6.18 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.619/1.619, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003051, allocations: 4 kB / 301.5 MB, free: 6.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1286, allocations: 50.41 MB / 351.9 MB, free: 3.625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003155/0.1318, allocations: 1.593 MB / 353.5 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.134, allocations: 1.025 MB / 354.6 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.1342, allocations: 0 / 354.6 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007438/0.135, allocations: 146.9 kB / 354.7 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003651/0.1354, allocations: 99.69 kB / 354.8 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007088/0.1361, allocations: 187.2 kB / 355 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.1364, allocations: 179.5 kB / 355.2 MB, free: 400 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.1366, allocations: 25.55 kB / 355.2 MB, free: 376 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.1367, allocations: 75.56 kB / 355.3 MB, free: 300 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1369, allocations: 63.7 kB / 355.3 MB, free: 236 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.1369, allocations: 0 / 355.3 MB, free: 236 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.1371, allocations: 51.91 kB / 355.4 MB, free: 184 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.021e-05/0.1372, allocations: 35.84 kB / 355.4 MB, free: 148 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.1373, allocations: 93.17 kB / 355.5 MB, free: 48 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.1378, allocations: 187.6 kB / 355.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.1379, allocations: 0 / 355.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.1379, allocations: 0 / 355.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.1379, allocations: 0 / 355.7 MB, free: 15.86 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.001198/0.1391, allocations: 496.2 kB / 356.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.698e-05/0.1392, allocations: 8.031 kB / 356.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.242e-05/0.1392, allocations: 34.75 kB / 356.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.1394, allocations: 20.75 kB / 356.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.1399, allocations: 258.9 kB / 356.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.1399, allocations: 4.375 kB / 356.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.1399, allocations: 7.938 kB / 356.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004967/0.1404, allocations: 162.6 kB / 356.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.1405, allocations: 3.938 kB / 356.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.1405, allocations: 0 / 356.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.1405, allocations: 4 kB / 356.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.1407, allocations: 31.98 kB / 356.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007723/0.1414, allocations: 366.3 kB / 357 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.1417, allocations: 115.9 kB / 357.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.1419, allocations: 42.58 kB / 357.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-05/0.1419, allocations: 3.984 kB / 357.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.1422, allocations: 71.33 kB / 357.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.984e-06/0.1422, allocations: 0 / 357.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004671/0.1427, allocations: 141.4 kB / 357.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.1428, allocations: 132.5 kB / 357.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.1432, allocations: 272.8 kB / 357.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.1432, allocations: 25.7 kB / 357.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.1434, allocations: 116.1 kB / 357.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.1435, allocations: 19.73 kB / 358 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.1435, allocations: 25.91 kB / 358 MB, free: 13.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.1437, allocations: 326.8 kB / 358.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.65e-05/0.1438, allocations: 23.98 kB / 358.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1439, allocations: 66.06 kB / 358.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.144, allocations: 80.25 kB / 358.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1441, allocations: 0 / 358.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000235/0.1443, allocations: 117.4 kB / 358.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.1443, allocations: 4 kB / 358.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.1444, allocations: 128 / 358.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.1444, allocations: 8 kB / 358.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.1445, allocations: 11.98 kB / 358.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.1445, allocations: 4 kB / 358.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.759e-05/0.1446, allocations: 11.84 kB / 358.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1446, allocations: 11.88 kB / 358.6 MB, free: 12.56 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,table.y,superSample1.y,superSample1.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.0001989/0.1448, allocations: 141.8 kB / 358.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.145, allocations: 61.5 kB / 358.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.912e-05/0.145, allocations: 29.77 kB / 358.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.1451, allocations: 0 / 358.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.1451, allocations: 4.25 kB / 358.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.1451, allocations: 7.938 kB / 358.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.1454, allocations: 225.5 kB / 359.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1454, allocations: 0 / 359.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.519e-05/0.1454, allocations: 4 kB / 359.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.1454, allocations: 7.984 kB / 359.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.1454, allocations: 3.984 kB / 359.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1454, allocations: 0 / 359.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1455, allocations: 8 kB / 359.1 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.1457, allocations: 154.4 kB / 359.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.1459, allocations: 108.9 kB / 359.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.1459, allocations: 4 kB / 359.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.256e-05/0.146, allocations: 8 kB / 359.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.146, allocations: 15.92 kB / 359.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.1461, allocations: 4 kB / 359.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002084/0.1463, allocations: 192.5 kB / 359.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1463, allocations: 0 / 359.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1466, allocations: 28 kB / 359.6 MB, free: 11.46 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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.001578/0.1481, allocations: 1.002 MB / 360.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.1484, allocations: 67.91 kB / 360.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.1484, allocations: 0 / 360.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.003e-05/0.1485, allocations: 23.97 kB / 360.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004782/0.149, allocations: 75.25 kB / 360.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.1517, allocations: 1.947 MB / 362.7 MB, free: 8.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.1521, allocations: 0.7321 MB / 363.5 MB, free: 7.582 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.713e-05/0.1522, allocations: 25.53 kB / 363.5 MB, free: 7.559 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.181e-05/0.1523, allocations: 47.42 kB / 363.5 MB, free: 7.512 MB / 302.1 MB Notification: Performance of SimCode: time 1.162e-06/0.1523, allocations: 4 kB / 363.5 MB, free: 7.508 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.1688, allocations: 4.04 MB / 367.6 MB, free: 3.645 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002473/0.1692, allocations: 261.3 kB / 367.8 MB, free: 3.352 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/2.419, allocations: 0 / 367.8 MB, free: 3.352 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches