Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00156/0.00156, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001864/0.001864, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 64.11 kB / 306.4 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1221, allocations: 50.53 MB / 356.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.004946/0.1271, allocations: 1.612 MB / 358.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1286, allocations: 0.5688 MB / 359.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.1288, allocations: 4 kB / 359.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.255e-05/0.1289, allocations: 3.984 kB / 359.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.1291, allocations: 3.938 kB / 359.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004198/0.1295, allocations: 59.83 kB / 359.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.1296, allocations: 47.8 kB / 359.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.1298, allocations: 20.14 kB / 359.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.13, allocations: 23.94 kB / 359.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.924e-05/0.1301, allocations: 23.86 kB / 359.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1301, allocations: 0 / 359.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.643e-05/0.1302, allocations: 4 kB / 359.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.43e-05/0.1302, allocations: 19.91 kB / 359.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.082e-05/0.1303, allocations: 31.8 kB / 359.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.1305, allocations: 51.75 kB / 359.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1305, allocations: 0 / 359.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1305, allocations: 0 / 359.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.1305, allocations: 4 kB / 359.4 MB, free: 11.94 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.0006587/0.1312, allocations: 383.4 kB / 359.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.163e-05/0.1313, allocations: 15.97 kB / 359.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.113e-05/0.1314, allocations: 34.75 kB / 359.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002764/0.1317, allocations: 16.83 kB / 359.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.132, allocations: 192.2 kB / 360 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.132, allocations: 384 / 360 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.132, allocations: 4.375 kB / 360 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.1324, allocations: 109 kB / 360.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1324, allocations: 0 / 360.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1324, allocations: 4 kB / 360.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.1325, allocations: 4 kB / 360.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1326, allocations: 15.92 kB / 360.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.133, allocations: 273.7 kB / 360.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.1331, allocations: 45.16 kB / 360.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.49e-05/0.1332, allocations: 25.64 kB / 360.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.1333, allocations: 4 kB / 360.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.1333, allocations: 38.56 kB / 360.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.1333, allocations: 0 / 360.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003327/0.1337, allocations: 69.52 kB / 360.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.1337, allocations: 77.11 kB / 360.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.1339, allocations: 136.2 kB / 360.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.1339, allocations: 29.95 kB / 360.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.94e-05/0.134, allocations: 96.12 kB / 360.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.134, allocations: 3.906 kB / 360.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.1341, allocations: 13.72 kB / 360.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1342, allocations: 322.8 kB / 361.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.293e-05/0.1343, allocations: 8 kB / 361.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.652e-05/0.1344, allocations: 25.64 kB / 361.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.863e-05/0.1345, allocations: 33.77 kB / 361.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1345, allocations: 0 / 361.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001684/0.1347, allocations: 53.62 kB / 361.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.1347, allocations: 4 kB / 361.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.1347, allocations: 4 kB / 361.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1347, allocations: 0 / 361.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.1349, allocations: 12.05 kB / 361.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1349, allocations: 0 / 361.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.92e-05/0.1349, allocations: 4 kB / 361.4 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.1349, allocations: 0 / 361.4 MB, free: 9.648 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.0001127/0.1351, allocations: 117.7 kB / 361.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-05/0.1352, allocations: 49.53 kB / 361.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.1352, allocations: 15.83 kB / 361.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1352, allocations: 0 / 361.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1352, allocations: 4.031 kB / 361.6 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1353, allocations: 0 / 361.6 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.1355, allocations: 169.6 kB / 361.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1355, allocations: 4 kB / 361.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.814e-05/0.1356, allocations: 7.984 kB / 361.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1356, allocations: 0 / 361.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.1356, allocations: 0 / 361.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.667e-06/0.1356, allocations: 4 kB / 361.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1356, allocations: 3.938 kB / 361.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.1359, allocations: 164.2 kB / 361.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.963e-05/0.136, allocations: 97 kB / 362 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.136, allocations: 7.922 kB / 362 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-05/0.1361, allocations: 0 / 362 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.1362, allocations: 4 kB / 362 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.1362, allocations: 3.938 kB / 362 MB, free: 8.902 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.1363, allocations: 107.2 kB / 362.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1363, allocations: 4.031 kB / 362.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003444/0.1367, allocations: 8 kB / 362.1 MB, free: 8.785 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.0006103/0.1373, allocations: 0.6859 MB / 362.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.1375, allocations: 31.92 kB / 362.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1375, allocations: 0 / 362.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.73e-05/0.1376, allocations: 4 kB / 362.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005684/0.1381, allocations: 18.94 kB / 362.9 MB, free: 8.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.1399, allocations: 1.333 MB / 364.2 MB, free: 6.598 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.1402, allocations: 0.6887 MB / 364.9 MB, free: 5.883 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.478e-05/0.1403, allocations: 11.97 kB / 364.9 MB, free: 5.871 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.1403, allocations: 11.44 kB / 364.9 MB, free: 5.859 MB / 302.1 MB Notification: Performance of SimCode: time 6.02e-07/0.1404, allocations: 0 / 364.9 MB, free: 5.859 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01479/0.1552, allocations: 1.386 MB / 366.3 MB, free: 4.59 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.1554, allocations: 213.2 kB / 366.5 MB, free: 4.336 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/1.963, allocations: 4 kB / 366.5 MB, free: 4.332 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches