Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSampleIpo.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSampleIpo.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002719/0.002719, allocations: 189.9 kB / 16.45 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.393/4.393, allocations: 205.4 MB / 222.6 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00188/0.001879, allocations: 94.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1915/0.1915, allocations: 12.6 MB / 331.8 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009538/0.0009542, allocations: 16.17 kB / 392 MB, free: 54.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2035, allocations: 50.37 MB / 442.3 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003629/0.2072, allocations: 1.297 MB / 443.6 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006545/0.2139, allocations: 0.5584 MB / 444.2 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.2142, allocations: 4 kB / 444.2 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.04e-05/0.2143, allocations: 11.92 kB / 444.2 MB, free: 9.723 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000399/0.2147, allocations: 23.91 kB / 444.2 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006705/0.2154, allocations: 59.86 kB / 444.3 MB, free: 9.641 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.2156, allocations: 43.89 kB / 444.3 MB, free: 9.598 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.2158, allocations: 24.12 kB / 444.4 MB, free: 9.574 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.216, allocations: 31.86 kB / 444.4 MB, free: 9.543 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.2162, allocations: 35.77 kB / 444.4 MB, free: 9.508 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.2162, allocations: 4 kB / 444.4 MB, free: 9.504 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.757e-05/0.2163, allocations: 8 kB / 444.4 MB, free: 9.496 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.647e-05/0.2164, allocations: 15.92 kB / 444.5 MB, free: 9.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.2164, allocations: 37.64 kB / 444.5 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.2166, allocations: 47.91 kB / 444.5 MB, free: 9.391 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2166, allocations: 0 / 444.5 MB, free: 9.391 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.2167, allocations: 0 / 444.5 MB, free: 9.391 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.2167, allocations: 0 / 444.5 MB, free: 9.391 MB / 282.7 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.0009792/0.2177, allocations: 391.8 kB / 444.9 MB, free: 8.961 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.502e-05/0.2178, allocations: 16.03 kB / 444.9 MB, free: 8.945 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.062e-05/0.2179, allocations: 11.81 kB / 445 MB, free: 8.934 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.2183, allocations: 202.7 kB / 445.2 MB, free: 8.695 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/0.2184, allocations: 15.94 kB / 445.2 MB, free: 8.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.2184, allocations: 8 kB / 445.2 MB, free: 8.672 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.2195, allocations: 221.7 kB / 445.4 MB, free: 8.434 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.2196, allocations: 0 / 445.4 MB, free: 8.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.2196, allocations: 0 / 445.4 MB, free: 8.434 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.2196, allocations: 4 kB / 445.4 MB, free: 8.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004421/0.2201, allocations: 63.89 kB / 445.5 MB, free: 8.367 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.2207, allocations: 282.5 kB / 445.7 MB, free: 8.035 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.2212, allocations: 107.8 kB / 445.8 MB, free: 7.902 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.2213, allocations: 4.125 kB / 445.8 MB, free: 7.898 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.884e-05/0.2214, allocations: 34.62 kB / 445.9 MB, free: 7.855 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 5.22e-06/0.2214, allocations: 3.938 kB / 445.9 MB, free: 7.852 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.001041/0.2225, allocations: 149.5 kB / 446 MB, free: 7.699 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.2226, allocations: 114.8 kB / 446.1 MB, free: 7.562 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.2229, allocations: 145.6 kB / 446.3 MB, free: 7.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.2229, allocations: 25.7 kB / 446.3 MB, free: 7.379 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.223, allocations: 158.6 kB / 446.5 MB, free: 7.223 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.2231, allocations: 23.73 kB / 446.5 MB, free: 7.199 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.2231, allocations: 0 / 446.5 MB, free: 7.199 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.558e-05/0.2232, allocations: 323 kB / 446.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.2234, allocations: 19.98 kB / 446.8 MB, free: 6.855 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.2236, allocations: 99.05 kB / 446.9 MB, free: 6.727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.2238, allocations: 28 kB / 446.9 MB, free: 6.699 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.2239, allocations: 8 kB / 446.9 MB, free: 6.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005429/0.2244, allocations: 129.4 kB / 447.1 MB, free: 6.559 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.2245, allocations: 4 kB / 447.1 MB, free: 6.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.2245, allocations: 4.344 kB / 447.1 MB, free: 6.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.01e-05/0.2246, allocations: 8 kB / 447.1 MB, free: 6.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.2248, allocations: 27.92 kB / 447.1 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-05/0.2249, allocations: 11.92 kB / 447.1 MB, free: 6.504 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.2251, allocations: 15.86 kB / 447.1 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.2252, allocations: 8 kB / 447.2 MB, free: 6.48 MB / 282.7 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 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000245/0.2254, allocations: 132.5 kB / 447.3 MB, free: 6.344 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000489/0.2259, allocations: 98.11 kB / 447.4 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.715e-05/0.2261, allocations: 16.31 kB / 447.4 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.2261, allocations: 8 kB / 447.4 MB, free: 6.215 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.2261, allocations: 0 / 447.4 MB, free: 6.215 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.2261, allocations: 0 / 447.4 MB, free: 6.215 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.2265, allocations: 193.6 kB / 447.6 MB, free: 5.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.2265, allocations: 0 / 447.6 MB, free: 5.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.2268, allocations: 27.92 kB / 447.6 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.2269, allocations: 0 / 447.6 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.2269, allocations: 4 kB / 447.6 MB, free: 5.945 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.2269, allocations: 0 / 447.6 MB, free: 5.945 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.227, allocations: 3.984 kB / 447.6 MB, free: 5.941 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006471/0.2276, allocations: 260.3 kB / 447.9 MB, free: 5.652 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.2278, allocations: 101 kB / 448 MB, free: 5.535 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/0.2279, allocations: 8 kB / 448 MB, free: 5.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.2282, allocations: 4 kB / 448 MB, free: 5.523 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.2282, allocations: 7.953 kB / 448 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.2283, allocations: 7.984 kB / 448 MB, free: 5.508 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001371/0.2284, allocations: 103.3 kB / 448.1 MB, free: 5.406 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.2285, allocations: 0 / 448.1 MB, free: 5.406 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006418/0.2291, allocations: 16 kB / 448.1 MB, free: 5.391 MB / 282.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004227/0.2334, allocations: 99.23 kB / 448.2 MB, free: 5.285 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000654/0.2341, allocations: 83.84 kB / 448.3 MB, free: 5.203 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.2342, allocations: 0 / 448.3 MB, free: 5.203 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.267e-05/0.2343, allocations: 11.98 kB / 448.3 MB, free: 5.191 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000814/0.2351, allocations: 56.45 kB / 448.4 MB, free: 5.141 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.2367, allocations: 320.7 kB / 448.7 MB, free: 4.785 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.237, allocations: 0.7121 MB / 449.4 MB, free: 4.047 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.2372, allocations: 23.36 kB / 449.4 MB, free: 4.027 MB / 282.7 MB Notification: Performance of SimCode: time 2.264e-06/0.2372, allocations: 0 / 449.4 MB, free: 4.027 MB / 282.7 MB Notification: Performance of Templates: time 0.005767/0.243, allocations: 1.143 MB / 450.6 MB, free: 2.891 MB / 282.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches