Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001536/0.001536, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001643/0.001643, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 57.12 kB / 306.6 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1341, allocations: 50.53 MB / 357.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003182/0.1373, allocations: 1.62 MB / 358.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1384, allocations: 0.5221 MB / 359.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.1385, allocations: 7.938 kB / 359.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.467e-05/0.1386, allocations: 3.984 kB / 359.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.1387, allocations: 7.922 kB / 359.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.1391, allocations: 59.83 kB / 359.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.1392, allocations: 43.86 kB / 359.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1393, allocations: 20.16 kB / 359.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.1395, allocations: 31.84 kB / 359.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.63e-05/0.1396, allocations: 15.88 kB / 359.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.1396, allocations: 4 kB / 359.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.52e-05/0.1396, allocations: 7.984 kB / 359.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.1397, allocations: 15.94 kB / 359.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.1397, allocations: 31.8 kB / 359.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.1399, allocations: 59.75 kB / 359.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1399, allocations: 0 / 359.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.1399, allocations: 3.984 kB / 359.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1399, allocations: 0 / 359.5 MB, free: 11.84 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004829/0.1404, allocations: 383.3 kB / 359.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1404, allocations: 8.031 kB / 359.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.1405, allocations: 30.75 kB / 359.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.1407, allocations: 24.83 kB / 360 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.1409, allocations: 192.1 kB / 360.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1409, allocations: 8.375 kB / 360.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.1409, allocations: 384 / 360.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.1412, allocations: 117 kB / 360.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.1412, allocations: 4 kB / 360.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.1412, allocations: 0 / 360.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.1412, allocations: 0 / 360.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.936e-05/0.1413, allocations: 27.86 kB / 360.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.1417, allocations: 269.6 kB / 360.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.096e-05/0.1418, allocations: 41.22 kB / 360.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.168e-05/0.1418, allocations: 21.77 kB / 360.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.1419, allocations: 0 / 360.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1419, allocations: 34.5 kB / 360.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1419, allocations: 0 / 360.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002584/0.1422, allocations: 77.52 kB / 360.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.1422, allocations: 77.11 kB / 360.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.1424, allocations: 144.4 kB / 361 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1424, allocations: 25.7 kB / 361 MB, free: 10.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.1424, allocations: 88.14 kB / 361.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.1425, allocations: 7.906 kB / 361.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.1425, allocations: 9.969 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1426, allocations: 330.8 kB / 361.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.084e-05/0.1427, allocations: 4 kB / 361.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.77e-05/0.1427, allocations: 21.7 kB / 361.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.52e-05/0.1428, allocations: 29.64 kB / 361.5 MB, free: 9.637 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1428, allocations: 4.062 kB / 361.5 MB, free: 9.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001173/0.143, allocations: 49.69 kB / 361.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.143, allocations: 8 kB / 361.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.143, allocations: 0 / 361.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.143, allocations: 0 / 361.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.551e-05/0.1431, allocations: 11.92 kB / 361.5 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1431, allocations: 0 / 361.5 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.456e-05/0.1431, allocations: 4 kB / 361.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.1432, allocations: 4.062 kB / 361.5 MB, free: 9.551 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.0001013/0.1433, allocations: 126.8 kB / 361.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/0.1433, allocations: 41.61 kB / 361.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.1434, allocations: 11.83 kB / 361.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1434, allocations: 0 / 361.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1434, allocations: 0 / 361.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1434, allocations: 4 kB / 361.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.1436, allocations: 169.6 kB / 361.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1436, allocations: 0 / 361.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.882e-05/0.1436, allocations: 12.02 kB / 361.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.1436, allocations: 7.938 kB / 361.9 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.1437, allocations: 0 / 361.9 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1437, allocations: 3.938 kB / 361.9 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1437, allocations: 0 / 361.9 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.1438, allocations: 164.2 kB / 362.1 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.1439, allocations: 97.03 kB / 362.2 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.1439, allocations: 3.938 kB / 362.2 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.144, allocations: 8 kB / 362.2 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.144, allocations: 0 / 362.2 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1441, allocations: 0 / 362.2 MB, free: 8.809 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.307e-05/0.1441, allocations: 111.2 kB / 362.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1441, allocations: 0 / 362.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.1444, allocations: 4 kB / 362.3 MB, free: 8.695 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.0004659/0.1448, allocations: 0.6975 MB / 363 MB, free: 7.969 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.145, allocations: 19.98 kB / 363 MB, free: 7.949 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.145, allocations: 160 / 363 MB, free: 7.949 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.779e-05/0.1451, allocations: 15.92 kB / 363 MB, free: 7.934 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.1455, allocations: 18.09 kB / 363 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.1468, allocations: 1.343 MB / 364.4 MB, free: 6.488 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.1471, allocations: 0.6885 MB / 365.1 MB, free: 5.773 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.271e-05/0.1472, allocations: 0 / 365.1 MB, free: 5.773 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.1472, allocations: 15.44 kB / 365.1 MB, free: 5.758 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1472, allocations: 0 / 365.1 MB, free: 5.758 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.1732, allocations: 1.442 MB / 366.5 MB, free: 4.457 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002624/0.1735, allocations: 215.3 kB / 366.7 MB, free: 4.195 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/2.224, allocations: 0 / 366.7 MB, free: 4.195 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches