Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",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.001132/0.001132, allocations: 106 kB / 16.62 MB, free: 6.805 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.001232/0.001233, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.486/1.486, allocations: 222.9 MB / 241.2 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 46.73 kB / 300.2 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1331, allocations: 49.45 MB / 349.7 MB, free: 4.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003687/0.1369, allocations: 1.538 MB / 351.2 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004346/0.1373, allocations: 143.5 kB / 351.4 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.1375, allocations: 4 kB / 351.4 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.645e-05/0.1376, allocations: 3.938 kB / 351.4 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.1378, allocations: 0 / 351.4 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.1381, allocations: 42.02 kB / 351.4 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.1382, allocations: 27.92 kB / 351.4 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1383, allocations: 12 kB / 351.5 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.317e-05/0.1384, allocations: 11.92 kB / 351.5 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.043e-05/0.1384, allocations: 15.92 kB / 351.5 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.1385, allocations: 0 / 351.5 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.501e-05/0.1385, allocations: 4 kB / 351.5 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.504e-05/0.1386, allocations: 15.92 kB / 351.5 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.148e-05/0.1386, allocations: 15.88 kB / 351.5 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.1388, allocations: 39.83 kB / 351.6 MB, free: 2.801 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.1388, allocations: 0 / 351.6 MB, free: 2.801 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.1388, allocations: 0 / 351.6 MB, free: 2.801 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.1389, allocations: 4 kB / 351.6 MB, free: 2.797 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007112/0.1396, allocations: 355.5 kB / 351.9 MB, free: 2.398 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/0.1396, allocations: 12.03 kB / 351.9 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.303e-05/0.1397, allocations: 38.73 kB / 352 MB, free: 2.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.1398, allocations: 8.844 kB / 352 MB, free: 2.332 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.14, allocations: 188.1 kB / 352.2 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.1401, allocations: 4.375 kB / 352.2 MB, free: 2.105 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.1401, allocations: 384 / 352.2 MB, free: 2.105 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.1405, allocations: 93.55 kB / 352.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1405, allocations: 3.938 kB / 352.3 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1405, allocations: 4 kB / 352.3 MB, free: 1.988 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.1405, allocations: 0 / 352.3 MB, free: 1.988 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.666e-05/0.1406, allocations: 11.98 kB / 352.3 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.1411, allocations: 253.8 kB / 352.5 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.348e-05/0.1412, allocations: 49.09 kB / 352.6 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.434e-05/0.1412, allocations: 17.77 kB / 352.6 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.1413, allocations: 0 / 352.6 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/0.1413, allocations: 42.5 kB / 352.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.1413, allocations: 0 / 352.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002674/0.1416, allocations: 53.59 kB / 352.7 MB, free: 1.477 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/0.1417, allocations: 85.05 kB / 352.8 MB, free: 1.375 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.1418, allocations: 133.3 kB / 352.9 MB, free: 1.238 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1419, allocations: 25.7 kB / 352.9 MB, free: 1.207 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.1419, allocations: 84.39 kB / 353 MB, free: 1.121 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.13e-05/0.1419, allocations: 4 kB / 353 MB, free: 1.117 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.142, allocations: 21.61 kB / 353 MB, free: 1.09 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1422, allocations: 318.8 kB / 353.3 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.79e-05/0.1422, allocations: 0 / 353.3 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.254e-05/0.1422, allocations: 21.7 kB / 353.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.513e-05/0.1423, allocations: 21.78 kB / 353.4 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.1423, allocations: 3.938 kB / 353.4 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.756e-05/0.1424, allocations: 53.62 kB / 353.4 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.1424, allocations: 4 kB / 353.4 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.1425, allocations: 7.938 kB / 353.4 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1425, allocations: 0 / 353.4 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.865e-05/0.1425, allocations: 0 / 353.4 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1425, allocations: 4 kB / 353.4 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.656e-05/0.1426, allocations: 4.062 kB / 353.4 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.1426, allocations: 3.984 kB / 353.5 MB, free: 0.6289 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001102/0.1427, allocations: 121.7 kB / 353.6 MB, free: 0.5 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-05/0.1428, allocations: 37.61 kB / 353.6 MB, free: 468 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.1428, allocations: 11.52 kB / 353.6 MB, free: 452 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1428, allocations: 0 / 353.6 MB, free: 452 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1428, allocations: 0 / 353.6 MB, free: 452 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1428, allocations: 0 / 353.6 MB, free: 452 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.1431, allocations: 165.6 kB / 353.8 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1432, allocations: 8.031 kB / 353.8 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.516e-06/0.1432, allocations: 3.984 kB / 353.8 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1432, allocations: 0 / 353.8 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1432, allocations: 3.984 kB / 353.8 MB, free: 220 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1432, allocations: 3.938 kB / 353.8 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1432, allocations: 4 kB / 353.8 MB, free: 212 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.1434, allocations: 156.2 kB / 354 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.353e-05/0.1435, allocations: 93.03 kB / 354 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.1435, allocations: 4 kB / 354.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.582e-05/0.1436, allocations: 0 / 354.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.1436, allocations: 0 / 354.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1436, allocations: 0 / 354.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.891e-05/0.1437, allocations: 107.2 kB / 354.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1437, allocations: 0 / 354.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.144, allocations: 4 kB / 354.2 MB, free: 15.81 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0004937/0.1445, allocations: 0.6936 MB / 354.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.1446, allocations: 15.98 kB / 354.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1446, allocations: 160 / 354.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.484e-05/0.1446, allocations: 11.94 kB / 354.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.1451, allocations: 15.31 kB / 354.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.1465, allocations: 1.264 MB / 356.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.1469, allocations: 0.6846 MB / 356.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.454e-05/0.1469, allocations: 4 kB / 356.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.147, allocations: 11.44 kB / 356.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.147, allocations: 3.938 kB / 356.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.1634, allocations: 1.24 MB / 358.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002756/0.1637, allocations: 225.9 kB / 358.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.107/2.27, allocations: 0 / 358.3 MB, free: 11.62 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches