Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00137/0.00137, allocations: 116.9 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001666/0.001666, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.592/1.592, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 66.83 kB / 306.6 MB, free: 0.8516 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1354, allocations: 50.53 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003883/0.1394, allocations: 1.679 MB / 358.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1408, allocations: 0.6155 MB / 359.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.1409, allocations: 3.938 kB / 359.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.554e-05/0.1411, allocations: 7.938 kB / 359.4 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.1414, allocations: 27.91 kB / 359.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.1418, allocations: 71.86 kB / 359.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.142, allocations: 79.72 kB / 359.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1421, allocations: 15.98 kB / 359.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.1423, allocations: 39.89 kB / 359.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.227e-05/0.1424, allocations: 35.8 kB / 359.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.1424, allocations: 8 kB / 359.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.605e-05/0.1425, allocations: 11.98 kB / 359.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.496e-05/0.1426, allocations: 27.91 kB / 359.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.261e-05/0.1426, allocations: 35.75 kB / 359.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.1428, allocations: 83.69 kB / 359.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1429, allocations: 0 / 359.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1429, allocations: 0 / 359.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1429, allocations: 0 / 359.8 MB, free: 11.57 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007392/0.1436, allocations: 419.2 kB / 360.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.1437, allocations: 12.03 kB / 360.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.079e-05/0.1437, allocations: 38.75 kB / 360.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.1439, allocations: 24.73 kB / 360.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.1442, allocations: 204 kB / 360.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.1442, allocations: 4.375 kB / 360.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.1442, allocations: 11.94 kB / 360.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005415/0.1448, allocations: 224.2 kB / 360.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1448, allocations: 0 / 360.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.1448, allocations: 4 kB / 360.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1449, allocations: 0 / 360.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.145, allocations: 51.89 kB / 360.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.1455, allocations: 294.5 kB / 361.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.1457, allocations: 103.9 kB / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.1458, allocations: 58.55 kB / 361.2 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.1459, allocations: 8 kB / 361.3 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.1459, allocations: 34.5 kB / 361.3 MB, free: 9.898 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/0.1459, allocations: 0 / 361.3 MB, free: 9.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004513/0.1464, allocations: 149.6 kB / 361.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.353e-05/0.1465, allocations: 122.7 kB / 361.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.1466, allocations: 145.7 kB / 361.7 MB, free: 9.449 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.1466, allocations: 25.7 kB / 361.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.1467, allocations: 100 kB / 361.8 MB, free: 9.316 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.1467, allocations: 11.91 kB / 361.8 MB, free: 9.305 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.1468, allocations: 29.7 kB / 361.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1469, allocations: 326.9 kB / 362.2 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.487e-05/0.147, allocations: 19.98 kB / 362.2 MB, free: 8.922 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.1472, allocations: 85.38 kB / 362.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.1474, allocations: 113.8 kB / 362.4 MB, free: 8.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1474, allocations: 4 kB / 362.4 MB, free: 8.656 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002276/0.1476, allocations: 137.6 kB / 362.5 MB, free: 8.516 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1476, allocations: 6.812 kB / 362.5 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.1476, allocations: 4 kB / 362.5 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1477, allocations: 4 kB / 362.5 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.1478, allocations: 27.92 kB / 362.6 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1478, allocations: 7.984 kB / 362.6 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.614e-05/0.1479, allocations: 11.84 kB / 362.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.1479, allocations: 12 kB / 362.6 MB, free: 8.445 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.superSampleIpo.first,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001168/0.148, allocations: 133.7 kB / 362.7 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.1482, allocations: 97.59 kB / 362.8 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.824e-05/0.1483, allocations: 16.31 kB / 362.8 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1483, allocations: 4 kB / 362.8 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1483, allocations: 0 / 362.8 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1483, allocations: 3.938 kB / 362.8 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.1485, allocations: 181.6 kB / 363 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1485, allocations: 0 / 363 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.1487, allocations: 27.92 kB / 363.1 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1487, allocations: 3.938 kB / 363.1 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.1487, allocations: 4 kB / 363.1 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1487, allocations: 7.984 kB / 363.1 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1487, allocations: 0 / 363.1 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.149, allocations: 225 kB / 363.3 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.398e-05/0.1491, allocations: 101 kB / 363.4 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1492, allocations: 3.938 kB / 363.4 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.544e-05/0.1493, allocations: 8 kB / 363.4 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.1494, allocations: 11.92 kB / 363.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.1494, allocations: 11.92 kB / 363.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.29e-05/0.1495, allocations: 110.1 kB / 363.5 MB, free: 7.406 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1495, allocations: 0 / 363.5 MB, free: 7.406 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1498, allocations: 16 kB / 363.5 MB, free: 7.391 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0007612/0.1505, allocations: 0.815 MB / 364.4 MB, free: 6.547 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.1508, allocations: 88.09 kB / 364.4 MB, free: 6.461 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1508, allocations: 0.6875 kB / 364.4 MB, free: 6.461 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.1508, allocations: 12 kB / 364.5 MB, free: 6.449 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/0.1514, allocations: 63.81 kB / 364.5 MB, free: 6.387 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.1533, allocations: 1.694 MB / 366.2 MB, free: 4.539 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.1536, allocations: 0.7041 MB / 366.9 MB, free: 3.809 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.961e-05/0.1537, allocations: 16.48 kB / 366.9 MB, free: 3.793 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.875e-05/0.1538, allocations: 27.42 kB / 367 MB, free: 3.766 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1538, allocations: 4 kB / 367 MB, free: 3.762 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0147/0.1685, allocations: 2.11 MB / 369.1 MB, free: 1.82 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/0.1687, allocations: 230.8 kB / 369.3 MB, free: 1.562 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.124/2.293, allocations: 0 / 369.3 MB, free: 1.562 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches