Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_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.001058/0.001058, allocations: 93.08 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.00125/0.00125, allocations: 180.5 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.662/1.662, allocations: 223.3 MB / 241.6 MB, free: 116 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.0004571, allocations: 8.688 kB / 301.5 MB, free: 6.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1389, allocations: 50.41 MB / 351.9 MB, free: 3.598 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002127/0.1411, allocations: 1.261 MB / 353.2 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009232/0.142, allocations: 462.9 kB / 353.7 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1422, allocations: 0 / 353.7 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.478e-05/0.1422, allocations: 7.938 kB / 353.7 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.1424, allocations: 15.91 kB / 353.7 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.1427, allocations: 35.91 kB / 353.7 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.1428, allocations: 43.86 kB / 353.8 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.143, allocations: 15.98 kB / 353.8 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.028e-05/0.1431, allocations: 23.86 kB / 353.8 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.753e-05/0.1431, allocations: 19.86 kB / 353.8 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.1432, allocations: 0 / 353.8 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.1432, allocations: 0 / 353.8 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.471e-05/0.1432, allocations: 11.98 kB / 353.8 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.739e-05/0.1433, allocations: 49.52 kB / 353.9 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.1434, allocations: 51.73 kB / 353.9 MB, free: 1.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1434, allocations: 0 / 353.9 MB, free: 1.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1435, allocations: 4 kB / 353.9 MB, free: 1.586 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1435, allocations: 0 / 353.9 MB, free: 1.586 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005244/0.144, allocations: 363.5 kB / 354.3 MB, free: 1.184 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.144, allocations: 12.03 kB / 354.3 MB, free: 1.172 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.107e-05/0.1441, allocations: 34.75 kB / 354.3 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.1442, allocations: 8.844 kB / 354.3 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.1444, allocations: 202.8 kB / 354.5 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1444, allocations: 4.312 kB / 354.5 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.1444, allocations: 8.375 kB / 354.6 MB, free: 0.875 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.1447, allocations: 105.2 kB / 354.7 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1448, allocations: 0 / 354.7 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1448, allocations: 7.984 kB / 354.7 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1448, allocations: 4 kB / 354.7 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.757e-05/0.1449, allocations: 19.98 kB / 354.7 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.1452, allocations: 261.7 kB / 354.9 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.648e-05/0.1453, allocations: 53.14 kB / 355 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.347e-05/0.1454, allocations: 17.78 kB / 355 MB, free: 328 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.1455, allocations: 0 / 355 MB, free: 328 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.1455, allocations: 46.48 kB / 355.1 MB, free: 272 kB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1455, allocations: 0 / 355.1 MB, free: 272 kB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003307/0.1458, allocations: 73.62 kB / 355.1 MB, free: 192 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/0.1459, allocations: 81.09 kB / 355.2 MB, free: 92 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.1461, allocations: 134.2 kB / 355.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.1462, allocations: 25.7 kB / 355.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.1463, allocations: 96.08 kB / 355.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.1463, allocations: 4.141 kB / 355.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.1463, allocations: 13.72 kB / 355.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1465, allocations: 318.8 kB / 355.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.978e-05/0.1466, allocations: 11.98 kB / 355.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.597e-05/0.1466, allocations: 17.72 kB / 355.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.307e-05/0.1467, allocations: 41.7 kB / 355.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1467, allocations: 0 / 355.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001402/0.1469, allocations: 65.58 kB / 355.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1469, allocations: 4 kB / 355.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.1469, allocations: 4 kB / 355.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.147, allocations: 8.047 kB / 355.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.601e-05/0.147, allocations: 4 kB / 355.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.1471, allocations: 3.938 kB / 355.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.1471, allocations: 4 kB / 355.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1471, allocations: 0 / 355.9 MB, free: 15.29 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: 0 () * 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.0001237/0.1473, allocations: 125.8 kB / 356.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.359e-05/0.1473, allocations: 33.61 kB / 356.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.209e-05/0.1474, allocations: 15.89 kB / 356.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1474, allocations: 7.938 kB / 356.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1474, allocations: 0 / 356.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1474, allocations: 4 kB / 356.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.1477, allocations: 169.6 kB / 356.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1477, allocations: 0 / 356.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.02e-05/0.1477, allocations: 8 kB / 356.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1477, allocations: 0 / 356.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1477, allocations: 0 / 356.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1478, allocations: 0 / 356.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1478, allocations: 3.938 kB / 356.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.148, allocations: 172.2 kB / 356.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.49e-05/0.1481, allocations: 89 kB / 356.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.1481, allocations: 0 / 356.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.1482, allocations: 4 kB / 356.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.1482, allocations: 7.969 kB / 356.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.1483, allocations: 7.984 kB / 356.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.097e-05/0.1484, allocations: 105.8 kB / 356.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1484, allocations: 0 / 356.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.1486, allocations: 8 kB / 356.7 MB, free: 14.44 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: 0 () * 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.0005764/0.1492, allocations: 0.7014 MB / 357.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.1493, allocations: 19.98 kB / 357.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1494, allocations: 0 / 357.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.07e-05/0.1494, allocations: 24.08 kB / 357.4 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.1499, allocations: 15.28 kB / 357.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.1513, allocations: 1.341 MB / 358.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.1516, allocations: 0.6887 MB / 359.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.002e-05/0.1517, allocations: 8.031 kB / 359.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.1517, allocations: 11.44 kB / 359.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of SimCode: time 2.144e-06/0.1518, allocations: 0 / 359.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01308/0.1648, allocations: 1.314 MB / 360.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/0.1652, allocations: 207.7 kB / 361 MB, free: 10.06 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/2.205, allocations: 0 / 361 MB, free: 10.06 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches