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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001106, allocations: 106.9 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.73 kB / 306.3 MB, free: 1.027 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1366, allocations: 50.54 MB / 356.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003458/0.1402, allocations: 1.671 MB / 358.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.1418, allocations: 0.6156 MB / 359.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.1419, allocations: 7.938 kB / 359.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.689e-05/0.1421, allocations: 3.938 kB / 359.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.1424, allocations: 23.91 kB / 359.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.1428, allocations: 71.36 kB / 359.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.143, allocations: 79.7 kB / 359.3 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.1431, allocations: 23.97 kB / 359.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.1433, allocations: 35.86 kB / 359.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.348e-05/0.1434, allocations: 35.83 kB / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.1434, allocations: 4 kB / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.126e-05/0.1435, allocations: 8 kB / 359.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.617e-05/0.1436, allocations: 15.92 kB / 359.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.008e-05/0.1437, allocations: 43.72 kB / 359.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.1439, allocations: 75.7 kB / 359.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1439, allocations: 0 / 359.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1439, allocations: 4 kB / 359.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1439, allocations: 3.938 kB / 359.5 MB, free: 11.76 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.0006978/0.1446, allocations: 415.3 kB / 359.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1447, allocations: 8.031 kB / 359.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.1448, allocations: 24.73 kB / 360 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.1451, allocations: 212 kB / 360.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.1451, allocations: 4.375 kB / 360.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.1452, allocations: 16.12 kB / 360.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/0.1457, allocations: 213.7 kB / 360.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1457, allocations: 8 kB / 360.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1458, allocations: 0 / 360.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.1458, allocations: 4 kB / 360.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.146, allocations: 51.95 kB / 360.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.1464, allocations: 290.4 kB / 360.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.1466, allocations: 107.8 kB / 360.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.1467, allocations: 50.69 kB / 360.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.1467, allocations: 0 / 360.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.1468, allocations: 46.48 kB / 360.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.1468, allocations: 0 / 360.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.000457/0.1472, allocations: 145.4 kB / 361.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/0.1473, allocations: 110.8 kB / 361.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1475, allocations: 145.8 kB / 361.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.1475, allocations: 29.7 kB / 361.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.1476, allocations: 96.2 kB / 361.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.1476, allocations: 19.8 kB / 361.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.1476, allocations: 29.7 kB / 361.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1478, allocations: 318.8 kB / 361.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.876e-05/0.1478, allocations: 19.98 kB / 361.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.1479, allocations: 97.36 kB / 361.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.1481, allocations: 113.3 kB / 362 MB, free: 8.898 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1481, allocations: 0 / 362 MB, free: 8.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002271/0.1483, allocations: 133.3 kB / 362.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1484, allocations: 8 kB / 362.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1484, allocations: 0 / 362.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1484, allocations: 4 kB / 362.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.1485, allocations: 23.98 kB / 362.2 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.1486, allocations: 8.281 kB / 362.2 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.1486, allocations: 19.84 kB / 362.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.1487, allocations: 4 kB / 362.2 MB, free: 8.695 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.0001181/0.1488, allocations: 136.6 kB / 362.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.149, allocations: 98.08 kB / 362.5 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.3e-05/0.149, allocations: 24.3 kB / 362.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.149, allocations: 0 / 362.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1491, allocations: 4 kB / 362.5 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.1491, allocations: 7.922 kB / 362.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.1493, allocations: 185.6 kB / 362.7 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1493, allocations: 4 kB / 362.7 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.1494, allocations: 23.92 kB / 362.7 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1494, allocations: 4 kB / 362.7 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1494, allocations: 0 / 362.7 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1494, allocations: 4 kB / 362.7 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1494, allocations: 0 / 362.7 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.1498, allocations: 233 kB / 362.9 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.656e-05/0.1499, allocations: 97 kB / 363 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.1499, allocations: 8 kB / 363 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.895e-05/0.15, allocations: 11.92 kB / 363.1 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.1501, allocations: 0 / 363.1 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.1501, allocations: 7.938 kB / 363.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.858e-05/0.1502, allocations: 114.6 kB / 363.2 MB, free: 7.648 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1502, allocations: 3.938 kB / 363.2 MB, free: 7.645 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1504, allocations: 16 kB / 363.2 MB, free: 7.629 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.0001298/0.1506, allocations: 111.2 kB / 363.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.1508, allocations: 79.94 kB / 363.4 MB, free: 7.434 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1508, allocations: 0 / 363.4 MB, free: 7.434 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.568e-05/0.1509, allocations: 4.688 kB / 363.4 MB, free: 7.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.1513, allocations: 67.88 kB / 363.5 MB, free: 7.363 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008069/0.1522, allocations: 283 kB / 363.7 MB, free: 7.055 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.1525, allocations: 0.7083 MB / 364.4 MB, free: 6.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.383e-05/0.1525, allocations: 8.547 kB / 364.4 MB, free: 6.312 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.1526, allocations: 11.44 kB / 364.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of SimCode: time 1.893e-06/0.1526, allocations: 0 / 364.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of Templates: time 0.003643/0.1562, allocations: 0.8802 MB / 365.3 MB, free: 5.43 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins/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