Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001242/0.001242, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.001239, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.407/1.407, allocations: 227.7 MB / 247.9 MB, free: 10.17 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 67.89 kB / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2262, allocations: 50.54 MB / 410.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002792/0.229, allocations: 1.627 MB / 411.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.2301, allocations: 0.631 MB / 412.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.335e-05/0.2302, allocations: 0 / 412.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.708e-05/0.2302, allocations: 7.875 kB / 412.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.2304, allocations: 31.78 kB / 412.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.2307, allocations: 79.78 kB / 412.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.2309, allocations: 71.78 kB / 412.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.931e-05/0.231, allocations: 15.97 kB / 412.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.2311, allocations: 35.86 kB / 412.7 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.28e-05/0.2312, allocations: 43.77 kB / 412.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.2312, allocations: 8 kB / 412.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.032e-05/0.2312, allocations: 12 kB / 412.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.2313, allocations: 15.92 kB / 412.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.2313, allocations: 39.73 kB / 412.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.2315, allocations: 87.48 kB / 412.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2315, allocations: 0 / 412.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2315, allocations: 0 / 412.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.2315, allocations: 0 / 412.9 MB, free: 14.72 MB / 334.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.0006084/0.2321, allocations: 414.9 kB / 413.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.2321, allocations: 12.03 kB / 413.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.2323, allocations: 24.83 kB / 413.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.2326, allocations: 209.8 kB / 413.6 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.2326, allocations: 4.375 kB / 413.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.2326, allocations: 12.12 kB / 413.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004808/0.2331, allocations: 221.1 kB / 413.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2331, allocations: 0 / 413.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2331, allocations: 0 / 413.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2331, allocations: 8 kB / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.2333, allocations: 59.83 kB / 413.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.2336, allocations: 298.4 kB / 414.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.2338, allocations: 95.95 kB / 414.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.2339, allocations: 50.56 kB / 414.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.234, allocations: 7.969 kB / 414.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.234, allocations: 38.56 kB / 414.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.234, allocations: 3.938 kB / 414.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004423/0.2345, allocations: 141.5 kB / 414.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.2346, allocations: 114.8 kB / 414.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.2347, allocations: 153.1 kB / 414.7 MB, free: 12.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.2347, allocations: 25.7 kB / 414.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.2348, allocations: 100.1 kB / 414.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.2348, allocations: 7.906 kB / 414.9 MB, free: 12.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.2349, allocations: 41.83 kB / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.235, allocations: 322.8 kB / 415.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.475e-05/0.2351, allocations: 16 kB / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.2352, allocations: 93.42 kB / 415.3 MB, free: 12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.2354, allocations: 117.2 kB / 415.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2354, allocations: 0 / 415.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002276/0.2356, allocations: 133.5 kB / 415.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2356, allocations: 4 kB / 415.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2356, allocations: 4 kB / 415.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2356, allocations: 7.938 kB / 415.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.2357, allocations: 23.98 kB / 415.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.2358, allocations: 4 kB / 415.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.719e-05/0.2358, allocations: 15.88 kB / 415.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.2358, allocations: 4.312 kB / 415.6 MB, free: 11.65 MB / 334.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.0001095/0.2359, allocations: 137 kB / 415.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/0.2361, allocations: 102.1 kB / 415.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.2362, allocations: 16.3 kB / 415.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2362, allocations: 0 / 415.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2362, allocations: 0 / 415.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2362, allocations: 7.938 kB / 415.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.2364, allocations: 193.6 kB / 416.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2364, allocations: 0 / 416.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.2365, allocations: 19.98 kB / 416.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2365, allocations: 8 kB / 416.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.2365, allocations: 4 kB / 416.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2365, allocations: 0 / 416.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.2365, allocations: 7.938 kB / 416.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.2368, allocations: 217.1 kB / 416.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.722e-05/0.2369, allocations: 105 kB / 416.4 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.237, allocations: 19.92 kB / 416.5 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.993e-05/0.2371, allocations: 0 / 416.5 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.2371, allocations: 4 kB / 416.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.2371, allocations: 11.94 kB / 416.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.776e-05/0.2372, allocations: 107.2 kB / 416.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2372, allocations: 0 / 416.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.2374, allocations: 16 kB / 416.6 MB, free: 10.58 MB / 334.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.0001143/0.2375, allocations: 107.1 kB / 416.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002328/0.2378, allocations: 83.83 kB / 416.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2378, allocations: 0 / 416.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.967e-05/0.2378, allocations: 11.98 kB / 416.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.2382, allocations: 54.94 kB / 416.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006375/0.2388, allocations: 265.7 kB / 417.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.2392, allocations: 0.7002 MB / 417.8 MB, free: 9.305 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.487e-05/0.2392, allocations: 8.547 kB / 417.8 MB, free: 9.297 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.2392, allocations: 15.44 kB / 417.8 MB, free: 9.281 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2392, allocations: 0 / 417.8 MB, free: 9.281 MB / 334.1 MB Notification: Performance of Templates: time 0.003552/0.2428, allocations: 0.9707 MB / 418.8 MB, free: 8.324 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches