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.001367/0.001366, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001566/0.001566, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 61.64 kB / 307 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1348, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003319/0.1381, allocations: 1.55 MB / 359.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1392, allocations: 0.5298 MB / 359.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.1393, allocations: 4 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.116e-05/0.1394, allocations: 7.922 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.1396, allocations: 19.86 kB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.14, allocations: 55.81 kB / 359.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.1401, allocations: 51.8 kB / 359.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1402, allocations: 20.16 kB / 359.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.1403, allocations: 23.91 kB / 359.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.448e-05/0.1404, allocations: 23.86 kB / 359.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.1404, allocations: 8 kB / 359.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.052e-05/0.1405, allocations: 8 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.1405, allocations: 15.92 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.1406, allocations: 23.81 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.1407, allocations: 59.73 kB / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1408, allocations: 0 / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1408, allocations: 0 / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1408, allocations: 0 / 360 MB, free: 11.58 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.0004983/0.1413, allocations: 387.3 kB / 360.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1413, allocations: 8.031 kB / 360.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.1414, allocations: 42.75 kB / 360.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.1416, allocations: 16.83 kB / 360.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.1418, allocations: 196.2 kB / 360.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1418, allocations: 384 / 360.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.1418, allocations: 4.375 kB / 360.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.1421, allocations: 120.9 kB / 360.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1422, allocations: 0 / 360.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1422, allocations: 3.984 kB / 360.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1422, allocations: 4 kB / 360.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.648e-05/0.1423, allocations: 15.92 kB / 360.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.1427, allocations: 265.7 kB / 361 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.237e-05/0.1428, allocations: 49.14 kB / 361.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.1428, allocations: 21.72 kB / 361.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.1429, allocations: 7.984 kB / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1429, allocations: 34.56 kB / 361.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1429, allocations: 4 kB / 361.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002464/0.1432, allocations: 61.53 kB / 361.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.1432, allocations: 85.09 kB / 361.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.1434, allocations: 140.2 kB / 361.4 MB, free: 9.914 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1434, allocations: 25.7 kB / 361.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.1434, allocations: 92.12 kB / 361.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.1435, allocations: 4.156 kB / 361.5 MB, free: 9.785 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.1435, allocations: 21.72 kB / 361.6 MB, free: 9.758 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1436, allocations: 314.8 kB / 361.9 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.23e-05/0.1437, allocations: 11.98 kB / 361.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.241e-05/0.1437, allocations: 21.66 kB / 361.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.921e-05/0.1438, allocations: 33.77 kB / 361.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1438, allocations: 0 / 361.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001129/0.1439, allocations: 57.61 kB / 362 MB, free: 9.301 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.144, allocations: 4 kB / 362 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.144, allocations: 0 / 362 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.144, allocations: 4 kB / 362 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.279e-05/0.1441, allocations: 4 kB / 362 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1441, allocations: 0 / 362 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.642e-05/0.1441, allocations: 12.05 kB / 362 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1441, allocations: 0 / 362 MB, free: 9.277 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 9.985e-05/0.1443, allocations: 122.8 kB / 362.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.318e-05/0.1443, allocations: 45.53 kB / 362.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.1444, allocations: 15.83 kB / 362.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1444, allocations: 0 / 362.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1444, allocations: 0 / 362.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1444, allocations: 0 / 362.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.1446, allocations: 173.6 kB / 362.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1446, allocations: 4.031 kB / 362.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.1446, allocations: 7.984 kB / 362.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1446, allocations: 0 / 362.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1447, allocations: 0 / 362.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1447, allocations: 3.938 kB / 362.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.1447, allocations: 11.94 kB / 362.4 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.1449, allocations: 156.2 kB / 362.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.1449, allocations: 96.94 kB / 362.6 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.145, allocations: 4 kB / 362.6 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-05/0.145, allocations: 3.984 kB / 362.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.1451, allocations: 4 kB / 362.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.1451, allocations: 0 / 362.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.005e-05/0.1452, allocations: 110.2 kB / 362.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1452, allocations: 0 / 362.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.1454, allocations: 4 kB / 362.8 MB, free: 8.426 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.0004696/0.1459, allocations: 0.6937 MB / 363.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.146, allocations: 28.02 kB / 363.5 MB, free: 7.676 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.146, allocations: 4 kB / 363.5 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.593e-05/0.1461, allocations: 8 kB / 363.5 MB, free: 7.664 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.1465, allocations: 23.12 kB / 363.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.1478, allocations: 1.319 MB / 364.8 MB, free: 6.238 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.1482, allocations: 0.6885 MB / 365.5 MB, free: 5.523 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.146e-05/0.1482, allocations: 3.984 kB / 365.5 MB, free: 5.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.1483, allocations: 19.47 kB / 365.5 MB, free: 5.5 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1483, allocations: 0 / 365.5 MB, free: 5.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/0.1687, allocations: 1.523 MB / 367.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/8.24, allocations: 7.922 kB / 367.1 MB, free: 4.062 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