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.001081/0.001082, allocations: 94.94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001463, allocations: 202.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.62/1.62, allocations: 227.7 MB / 246.8 MB, free: 9.789 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000249/0.000249, allocations: 8 kB / 307.7 MB, free: 0.6211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1315, allocations: 51.53 MB / 359.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002065/0.1336, allocations: 1.332 MB / 360.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1348, allocations: 0.6039 MB / 361.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.135, allocations: 7.938 kB / 361.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.597e-05/0.135, allocations: 3.938 kB / 361.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.1353, allocations: 23.91 kB / 361.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.1356, allocations: 71.8 kB / 361.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.1358, allocations: 75.77 kB / 361.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1359, allocations: 23.97 kB / 361.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.136, allocations: 31.92 kB / 361.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.362e-05/0.1361, allocations: 35.77 kB / 361.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1361, allocations: 4 kB / 361.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-05/0.1362, allocations: 8 kB / 361.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.1363, allocations: 11.92 kB / 361.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.618e-05/0.1364, allocations: 69.44 kB / 361.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.1365, allocations: 83.61 kB / 361.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1365, allocations: 0 / 361.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1365, allocations: 7.938 kB / 361.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1366, allocations: 0 / 361.7 MB, free: 10.69 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.0006072/0.1372, allocations: 391.4 kB / 362 MB, free: 10.26 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1372, allocations: 12.03 kB / 362 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.1374, allocations: 24.75 kB / 362.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.1376, allocations: 211.8 kB / 362.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.1376, allocations: 4.375 kB / 362.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.1377, allocations: 16.12 kB / 362.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005427/0.1382, allocations: 221.7 kB / 362.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1382, allocations: 0 / 362.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.1383, allocations: 4 kB / 362.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.1383, allocations: 4 kB / 362.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.1385, allocations: 55.89 kB / 362.6 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.139, allocations: 290.5 kB / 362.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.1392, allocations: 103.9 kB / 363 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.1394, allocations: 58.62 kB / 363 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.1394, allocations: 0 / 363 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.1395, allocations: 38.5 kB / 363.1 MB, free: 9.082 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1395, allocations: 0 / 363.1 MB, free: 9.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.000536/0.14, allocations: 157.6 kB / 363.2 MB, free: 8.922 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.1402, allocations: 110.8 kB / 363.3 MB, free: 8.789 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.1404, allocations: 149.7 kB / 363.5 MB, free: 8.633 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.1404, allocations: 25.7 kB / 363.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.887e-05/0.1405, allocations: 96.08 kB / 363.6 MB, free: 8.504 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.1406, allocations: 15.83 kB / 363.6 MB, free: 8.488 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.1406, allocations: 17.72 kB / 363.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002353/0.1409, allocations: 330.8 kB / 363.9 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.671e-05/0.1409, allocations: 19.98 kB / 364 MB, free: 8.113 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.1411, allocations: 89.38 kB / 364 MB, free: 7.992 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.1413, allocations: 121.3 kB / 364.2 MB, free: 7.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1413, allocations: 0 / 364.2 MB, free: 7.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000246/0.1416, allocations: 141.3 kB / 364.3 MB, free: 7.695 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.1416, allocations: 8 kB / 364.3 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1416, allocations: 0 / 364.3 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.1416, allocations: 4 kB / 364.3 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1418, allocations: 27.92 kB / 364.3 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.1418, allocations: 4 kB / 364.3 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.962e-05/0.1419, allocations: 16.28 kB / 364.4 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.1419, allocations: 11.98 kB / 364.4 MB, free: 7.625 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.0001699/0.1421, allocations: 133.7 kB / 364.5 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.1423, allocations: 98.05 kB / 364.6 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.106e-05/0.1423, allocations: 16.31 kB / 364.6 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1423, allocations: 3.938 kB / 364.6 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1424, allocations: 0 / 364.6 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-05/0.1424, allocations: 11.92 kB / 364.6 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.1427, allocations: 185.6 kB / 364.8 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1427, allocations: 4 kB / 364.8 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.1428, allocations: 31.91 kB / 364.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1428, allocations: 0 / 364.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1428, allocations: 0 / 364.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.1428, allocations: 4 kB / 364.9 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1429, allocations: 0 / 364.9 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.1433, allocations: 237 kB / 365.1 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.138e-05/0.1434, allocations: 96.91 kB / 365.2 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.1434, allocations: 7.938 kB / 365.2 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.495e-05/0.1435, allocations: 8 kB / 365.2 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.1436, allocations: 3.984 kB / 365.2 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.1436, allocations: 7.938 kB / 365.2 MB, free: 6.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.1437, allocations: 114.2 kB / 365.3 MB, free: 6.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1437, allocations: 4 kB / 365.3 MB, free: 6.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.144, allocations: 16 kB / 365.3 MB, free: 6.555 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.0001572/0.1441, allocations: 95.25 kB / 365.4 MB, free: 6.453 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002828/0.1444, allocations: 88.45 kB / 365.5 MB, free: 6.367 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.1444, allocations: 8 kB / 365.5 MB, free: 6.359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.269e-05/0.1445, allocations: 8 kB / 365.5 MB, free: 6.352 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.1451, allocations: 65.84 kB / 365.6 MB, free: 6.293 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008195/0.1459, allocations: 295.2 kB / 365.9 MB, free: 5.965 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.1463, allocations: 0.7082 MB / 366.6 MB, free: 5.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.125e-05/0.1464, allocations: 8.547 kB / 366.6 MB, free: 5.223 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/0.1464, allocations: 19.44 kB / 366.6 MB, free: 5.203 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1465, allocations: 0 / 366.6 MB, free: 5.203 MB / 302.1 MB Notification: Performance of Templates: time 0.004274/0.1507, allocations: 0.8754 MB / 367.5 MB, free: 4.34 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