Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001196/0.001196, allocations: 91.31 kB / 16.65 MB, free: 6.598 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.001755/0.001755, allocations: 184 kB / 17.57 MB, free: 6.199 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.649/1.649, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.0003112, allocations: 11.98 kB / 301.5 MB, free: 5.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1386, allocations: 50.42 MB / 352 MB, free: 3.332 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002471/0.1411, allocations: 1.213 MB / 353.2 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004729/0.1416, allocations: 140.3 kB / 353.3 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.1417, allocations: 4 kB / 353.3 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.901e-05/0.1418, allocations: 0 / 353.3 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.142, allocations: 7.938 kB / 353.3 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.1423, allocations: 35.91 kB / 353.3 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.1425, allocations: 19.92 kB / 353.4 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.1426, allocations: 12 kB / 353.4 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.791e-05/0.1427, allocations: 11.92 kB / 353.4 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.1427, allocations: 7.938 kB / 353.4 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.1428, allocations: 11.94 kB / 353.4 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.291e-05/0.1428, allocations: 0 / 353.4 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.1429, allocations: 4 kB / 353.4 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.321e-05/0.1429, allocations: 49.5 kB / 353.5 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.143, allocations: 39.81 kB / 353.5 MB, free: 1.762 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.143, allocations: 0 / 353.5 MB, free: 1.762 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.143, allocations: 0 / 353.5 MB, free: 1.762 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1431, allocations: 0 / 353.5 MB, free: 1.762 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.0004835/0.1435, allocations: 351.6 kB / 353.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.1436, allocations: 16.03 kB / 353.9 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.1437, allocations: 30.75 kB / 353.9 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.1437, allocations: 8.844 kB / 353.9 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.1439, allocations: 192.1 kB / 354.1 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.144, allocations: 384 / 354.1 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.144, allocations: 384 / 354.1 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.1443, allocations: 101.6 kB / 354.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1443, allocations: 3.938 kB / 354.2 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1443, allocations: 0 / 354.2 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.1443, allocations: 0 / 354.2 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.288e-05/0.1444, allocations: 23.98 kB / 354.2 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.1448, allocations: 265.7 kB / 354.5 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.734e-05/0.1449, allocations: 49.16 kB / 354.5 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/0.145, allocations: 17.77 kB / 354.5 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.145, allocations: 4 kB / 354.5 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.145, allocations: 38.5 kB / 354.6 MB, free: 492 kB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1451, allocations: 0 / 354.6 MB, free: 492 kB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002873/0.1453, allocations: 69.52 kB / 354.6 MB, free: 416 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/0.1454, allocations: 85.36 kB / 354.7 MB, free: 312 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.1456, allocations: 142 kB / 354.9 MB, free: 156 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1456, allocations: 25.7 kB / 354.9 MB, free: 124 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.1457, allocations: 84.14 kB / 355 MB, free: 36 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.062e-05/0.1457, allocations: 0 / 355 MB, free: 36 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.1457, allocations: 13.72 kB / 355 MB, free: 16 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1459, allocations: 314.8 kB / 355.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.873e-05/0.1459, allocations: 8 kB / 355.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.383e-05/0.146, allocations: 29.7 kB / 355.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.748e-05/0.146, allocations: 29.64 kB / 355.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1461, allocations: 3.938 kB / 355.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001156/0.1462, allocations: 57.75 kB / 355.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1462, allocations: 4 kB / 355.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1462, allocations: 4 kB / 355.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1462, allocations: 0 / 355.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.176e-05/0.1463, allocations: 4 kB / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1463, allocations: 3.938 kB / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.12e-05/0.1464, allocations: 11.89 kB / 355.5 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1464, allocations: 0 / 355.5 MB, free: 15.53 MB / 302.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 (step.y,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.0001017/0.1465, allocations: 121.8 kB / 355.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/0.1466, allocations: 37.69 kB / 355.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/0.1466, allocations: 11.88 kB / 355.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1466, allocations: 0 / 355.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1466, allocations: 0 / 355.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.1466, allocations: 0 / 355.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.1468, allocations: 173.6 kB / 355.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1468, allocations: 0 / 355.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.115e-05/0.1469, allocations: 12.03 kB / 355.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1469, allocations: 0 / 355.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1469, allocations: 0 / 355.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.1469, allocations: 4 kB / 355.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1469, allocations: 3.938 kB / 355.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.1471, allocations: 164.2 kB / 356 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.953e-05/0.1472, allocations: 96.94 kB / 356.1 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.1472, allocations: 0 / 356.1 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.797e-05/0.1473, allocations: 11.88 kB / 356.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.1473, allocations: 0 / 356.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.1474, allocations: 4 kB / 356.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.99e-05/0.1474, allocations: 106.6 kB / 356.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1475, allocations: 0 / 356.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.1477, allocations: 4 kB / 356.2 MB, free: 14.69 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 (step.y,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.0005209/0.1482, allocations: 0.7014 MB / 356.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.1484, allocations: 24.02 kB / 356.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1484, allocations: 0 / 356.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.523e-05/0.1484, allocations: 19.92 kB / 356.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.1488, allocations: 10.95 kB / 356.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.1502, allocations: 1.287 MB / 358.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.1505, allocations: 0.6926 MB / 358.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.327e-05/0.1505, allocations: 0 / 358.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.1506, allocations: 15.44 kB / 358.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1506, allocations: 0 / 358.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01289/0.1635, allocations: 1.148 MB / 360.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/0.1637, allocations: 222.9 kB / 360.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.124/2.288, allocations: 3.938 kB / 360.3 MB, free: 10.55 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches