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.00156/0.00156, allocations: 104.1 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.001781/0.001781, allocations: 214.4 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.603/1.603, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 66.5 kB / 307.1 MB, free: 0.4961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1452, allocations: 50.53 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003769/0.1491, allocations: 1.614 MB / 359.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.1505, allocations: 0.6309 MB / 359.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.1507, allocations: 8 kB / 359.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.36e-05/0.1508, allocations: 7.875 kB / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.1511, allocations: 35.78 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.1515, allocations: 75.78 kB / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.1517, allocations: 79.77 kB / 360 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1519, allocations: 19.97 kB / 360 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.1521, allocations: 35.91 kB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.1522, allocations: 43.72 kB / 360.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.1522, allocations: 4 kB / 360.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.602e-05/0.1523, allocations: 12 kB / 360.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.884e-05/0.1524, allocations: 23.92 kB / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.178e-05/0.1525, allocations: 47.7 kB / 360.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.1527, allocations: 79.7 kB / 360.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.1527, allocations: 0 / 360.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1528, allocations: 0 / 360.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.1528, allocations: 0 / 360.3 MB, free: 11.25 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.0007971/0.1536, allocations: 411.2 kB / 360.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.1536, allocations: 8.031 kB / 360.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.396e-05/0.1537, allocations: 38.75 kB / 360.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.1539, allocations: 20.73 kB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.1543, allocations: 216.2 kB / 361 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.1543, allocations: 4.375 kB / 361 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.1544, allocations: 15.92 kB / 361 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006233/0.155, allocations: 208.3 kB / 361.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.155, allocations: 4 kB / 361.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.155, allocations: 4 kB / 361.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.1551, allocations: 0 / 361.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.1553, allocations: 59.89 kB / 361.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.1558, allocations: 290.5 kB / 361.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.156, allocations: 103.9 kB / 361.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.1562, allocations: 50.61 kB / 361.7 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.1562, allocations: 8 kB / 361.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.937e-05/0.1563, allocations: 34.5 kB / 361.7 MB, free: 9.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 3.867e-06/0.1563, allocations: 0 / 361.7 MB, free: 9.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.000515/0.1568, allocations: 157.4 kB / 361.9 MB, free: 9.434 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.1569, allocations: 114.7 kB / 362 MB, free: 9.297 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.1571, allocations: 153.7 kB / 362.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.1571, allocations: 25.7 kB / 362.2 MB, free: 9.105 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.1572, allocations: 95.98 kB / 362.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.1572, allocations: 11.89 kB / 362.3 MB, free: 8.996 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/0.1573, allocations: 29.84 kB / 362.3 MB, free: 8.961 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1575, allocations: 322.8 kB / 362.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.076e-05/0.1575, allocations: 23.98 kB / 362.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.1577, allocations: 89.06 kB / 362.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.1579, allocations: 121.3 kB / 362.9 MB, free: 8.344 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1579, allocations: 0 / 362.9 MB, free: 8.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002687/0.1581, allocations: 133.4 kB / 363 MB, free: 8.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.1582, allocations: 11.98 kB / 363 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1582, allocations: 4 kB / 363 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.1582, allocations: 0 / 363 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1584, allocations: 27.92 kB / 363 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.1584, allocations: 4 kB / 363 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.568e-05/0.1585, allocations: 11.84 kB / 363 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.1585, allocations: 12 kB / 363.1 MB, free: 8.137 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.0001246/0.1586, allocations: 137.9 kB / 363.2 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.1588, allocations: 94.08 kB / 363.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.952e-05/0.1589, allocations: 16.31 kB / 363.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.1589, allocations: 8.109 kB / 363.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.1589, allocations: 7.938 kB / 363.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.1589, allocations: 3.938 kB / 363.3 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.1591, allocations: 181.6 kB / 363.5 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1592, allocations: 3.938 kB / 363.5 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.1593, allocations: 23.98 kB / 363.5 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1593, allocations: 0 / 363.5 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.1593, allocations: 11.98 kB / 363.5 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.1593, allocations: 0 / 363.5 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1593, allocations: 0 / 363.5 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.1597, allocations: 232.9 kB / 363.8 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.115e-05/0.1598, allocations: 101 kB / 363.9 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.1598, allocations: 4 kB / 363.9 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.539e-05/0.1599, allocations: 4 kB / 363.9 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.16, allocations: 11.92 kB / 363.9 MB, free: 7.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.16, allocations: 4 kB / 363.9 MB, free: 7.199 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.669e-05/0.1601, allocations: 114.2 kB / 364 MB, free: 7.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1601, allocations: 0 / 364 MB, free: 7.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.1604, allocations: 16 kB / 364 MB, free: 7.074 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.0009555/0.1614, allocations: 0.8075 MB / 364.8 MB, free: 6.234 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002791/0.1617, allocations: 84.38 kB / 364.9 MB, free: 6.152 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.1617, allocations: 4.188 kB / 364.9 MB, free: 6.148 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.118e-05/0.1617, allocations: 4 kB / 364.9 MB, free: 6.145 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000613/0.1624, allocations: 63.88 kB / 365 MB, free: 6.082 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.1647, allocations: 1.674 MB / 366.6 MB, free: 4.254 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.1651, allocations: 0.7041 MB / 367.3 MB, free: 3.523 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.326e-05/0.1652, allocations: 12.92 kB / 367.4 MB, free: 3.512 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.1652, allocations: 27.42 kB / 367.4 MB, free: 3.484 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1652, allocations: 0 / 367.4 MB, free: 3.484 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.1901, allocations: 2.227 MB / 369.6 MB, free: 1.383 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.149/8.339, allocations: 3.125 kB / 369.6 MB, free: 1.383 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