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.00135/0.00135, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001525/0.001525, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 246.9 MB, free: 10.7 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 68.44 kB / 306.9 MB, free: 1.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.113, allocations: 50.52 MB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002918/0.1159, allocations: 1.691 MB / 359.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.117, allocations: 0.6117 MB / 359.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.252e-05/0.1171, allocations: 4 kB / 359.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.587e-05/0.1172, allocations: 3.938 kB / 359.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.1174, allocations: 31.84 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.1177, allocations: 67.88 kB / 359.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.1179, allocations: 75.77 kB / 359.9 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.118, allocations: 19.97 kB / 359.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.1181, allocations: 39.8 kB / 360 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/0.1182, allocations: 35.83 kB / 360 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.1182, allocations: 4 kB / 360 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.286e-05/0.1182, allocations: 8 kB / 360 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.678e-05/0.1183, allocations: 15.92 kB / 360 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.349e-05/0.1184, allocations: 43.73 kB / 360.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.1185, allocations: 59.89 kB / 360.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1185, allocations: 0 / 360.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1185, allocations: 0 / 360.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.1185, allocations: 0 / 360.1 MB, free: 11.77 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.0005966/0.1191, allocations: 411.3 kB / 360.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1191, allocations: 12.03 kB / 360.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.1193, allocations: 16.75 kB / 360.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.1195, allocations: 215.4 kB / 360.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.1195, allocations: 8.375 kB / 360.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.1196, allocations: 16.06 kB / 360.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004637/0.12, allocations: 209.8 kB / 361 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1201, allocations: 4 kB / 361 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.1201, allocations: 7.984 kB / 361 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1201, allocations: 0 / 361 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.1203, allocations: 51.89 kB / 361.1 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.1206, allocations: 294.5 kB / 361.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.1208, allocations: 103.8 kB / 361.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.1209, allocations: 46.62 kB / 361.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.121, allocations: 11.94 kB / 361.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.121, allocations: 38.55 kB / 361.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.121, allocations: 0 / 361.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004217/0.1214, allocations: 141.9 kB / 361.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.1215, allocations: 118.9 kB / 361.8 MB, free: 9.867 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.1216, allocations: 153.9 kB / 362 MB, free: 9.707 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1217, allocations: 25.7 kB / 362 MB, free: 9.676 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.1217, allocations: 92.08 kB / 362.1 MB, free: 9.582 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.1218, allocations: 19.78 kB / 362.1 MB, free: 9.562 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.1218, allocations: 29.7 kB / 362.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1219, allocations: 322.8 kB / 362.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.494e-05/0.122, allocations: 19.98 kB / 362.5 MB, free: 9.184 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.602e-05/0.1221, allocations: 89.42 kB / 362.5 MB, free: 9.062 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.1223, allocations: 121.2 kB / 362.7 MB, free: 8.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1223, allocations: 0 / 362.7 MB, free: 8.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002202/0.1225, allocations: 129.4 kB / 362.8 MB, free: 8.777 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1225, allocations: 8 kB / 362.8 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1226, allocations: 4 kB / 362.8 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1226, allocations: 352 / 362.8 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1227, allocations: 31.92 kB / 362.8 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.1227, allocations: 4 kB / 362.8 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.634e-05/0.1228, allocations: 11.84 kB / 362.8 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.1228, allocations: 15.98 kB / 362.9 MB, free: 8.703 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.0001126/0.1229, allocations: 125.7 kB / 363 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.1231, allocations: 97.52 kB / 363.1 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.654e-05/0.1232, allocations: 16.3 kB / 363.1 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1232, allocations: 7.938 kB / 363.1 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1232, allocations: 4 kB / 363.1 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1232, allocations: 3.938 kB / 363.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.1234, allocations: 189.6 kB / 363.3 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1234, allocations: 0 / 363.3 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.1235, allocations: 19.98 kB / 363.3 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1236, allocations: 0 / 363.3 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.1236, allocations: 11.94 kB / 363.3 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1236, allocations: 0 / 363.3 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1236, allocations: 0 / 363.3 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.1239, allocations: 241.1 kB / 363.6 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.998e-05/0.124, allocations: 97 kB / 363.7 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.124, allocations: 4 kB / 363.7 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.794e-05/0.1241, allocations: 7.984 kB / 363.7 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.1242, allocations: 0 / 363.7 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.1242, allocations: 15.88 kB / 363.7 MB, free: 7.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.333e-05/0.1243, allocations: 118.6 kB / 363.8 MB, free: 7.656 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1243, allocations: 0 / 363.8 MB, free: 7.656 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1245, allocations: 16 kB / 363.8 MB, free: 7.641 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.0001295/0.1247, allocations: 99.23 kB / 363.9 MB, free: 7.535 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.1249, allocations: 83.83 kB / 364 MB, free: 7.453 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1249, allocations: 0.6875 kB / 364 MB, free: 7.453 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.855e-05/0.1249, allocations: 11.94 kB / 364 MB, free: 7.441 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.1255, allocations: 56 kB / 364.1 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006907/0.1262, allocations: 316.6 kB / 364.4 MB, free: 7.039 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.1265, allocations: 0.7043 MB / 365.1 MB, free: 6.309 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.1265, allocations: 19.42 kB / 365.1 MB, free: 6.289 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1265, allocations: 0 / 365.1 MB, free: 6.289 MB / 302.1 MB Notification: Performance of Templates: time 0.003253/0.1298, allocations: 1.197 MB / 366.3 MB, free: 5.098 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/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