Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 179.8 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.000918/0.000918, allocations: 86.86 kB / 270.3 MB, free: 13.38 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.08689/0.08689, allocations: 12.6 MB / 331.1 MB, free: 10.31 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003546, allocations: 14.22 kB / 392 MB, free: 54.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1136, allocations: 50.37 MB / 442.4 MB, free: 10.98 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.2289, allocations: 78.36 MB / 0.5085 GB, free: 12.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.2292, allocations: 79.95 kB / 0.5086 GB, free: 12.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005118/0.2343, allocations: 1.999 MB / 0.5105 GB, free: 10.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2344, allocations: 0 / 0.5105 GB, free: 10.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.2344, allocations: 4 kB / 0.5106 GB, free: 10.43 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003398/0.2347, allocations: 375 kB / 0.5109 GB, free: 10.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.691e-05/0.2348, allocations: 8.031 kB / 0.5109 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.2348, allocations: 7.906 kB / 0.5109 GB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.235, allocations: 206.7 kB / 0.5111 GB, free: 9.754 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-06/0.235, allocations: 4 kB / 0.5111 GB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.235, allocations: 4 kB / 0.5111 GB, free: 9.746 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.2353, allocations: 113.9 kB / 0.5112 GB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2353, allocations: 3.984 kB / 0.5112 GB, free: 9.609 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.2353, allocations: 4 kB / 0.5112 GB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2353, allocations: 0 / 0.5112 GB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.1e-05/0.2354, allocations: 27.92 kB / 0.5113 GB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.2358, allocations: 282.6 kB / 0.5115 GB, free: 9.246 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.303e-05/0.2359, allocations: 69.3 kB / 0.5116 GB, free: 9.152 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.2359, allocations: 8.047 kB / 0.5116 GB, free: 9.145 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.2359, allocations: 38.56 kB / 0.5117 GB, free: 9.098 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2359, allocations: 0 / 0.5117 GB, free: 9.098 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002555/0.2362, allocations: 89.45 kB / 0.5117 GB, free: 9.004 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/0.2363, allocations: 111.2 kB / 0.5118 GB, free: 8.871 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.2364, allocations: 128.8 kB / 0.512 GB, free: 8.738 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.2364, allocations: 25.7 kB / 0.512 GB, free: 8.707 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.2364, allocations: 100 kB / 0.5121 GB, free: 8.605 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.207e-05/0.2365, allocations: 3.938 kB / 0.5121 GB, free: 8.602 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/0.2365, allocations: 0 / 0.5121 GB, free: 8.602 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.2366, allocations: 322.8 kB / 0.5124 GB, free: 8.277 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.953e-05/0.2366, allocations: 11.98 kB / 0.5124 GB, free: 8.266 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.974e-05/0.2367, allocations: 43.36 kB / 0.5125 GB, free: 8.211 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.444e-05/0.2368, allocations: 12 kB / 0.5125 GB, free: 8.199 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2368, allocations: 0 / 0.5125 GB, free: 8.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001331/0.2369, allocations: 77.52 kB / 0.5125 GB, free: 8.117 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2369, allocations: 4 kB / 0.5125 GB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-06/0.2369, allocations: 4 kB / 0.5125 GB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.237, allocations: 0 / 0.5125 GB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.509e-05/0.237, allocations: 8 kB / 0.5126 GB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.2371, allocations: 7.922 kB / 0.5126 GB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.765e-05/0.2371, allocations: 7.938 kB / 0.5126 GB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.2371, allocations: 4.125 kB / 0.5126 GB, free: 8.082 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.084e-05/0.2372, allocations: 125.6 kB / 0.5127 GB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.811e-05/0.2373, allocations: 53.59 kB / 0.5127 GB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.2373, allocations: 11.81 kB / 0.5128 GB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2374, allocations: 7.938 kB / 0.5128 GB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.2374, allocations: 0 / 0.5128 GB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2374, allocations: 3.984 kB / 0.5128 GB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.2375, allocations: 173.6 kB / 0.5129 GB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2376, allocations: 0 / 0.5129 GB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.722e-05/0.2376, allocations: 12.06 kB / 0.5129 GB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2376, allocations: 4 kB / 0.5129 GB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.2376, allocations: 7.984 kB / 0.513 GB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2377, allocations: 0 / 0.513 GB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2377, allocations: 0 / 0.513 GB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.2379, allocations: 212.5 kB / 0.5132 GB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.238, allocations: 89 kB / 0.5132 GB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.238, allocations: 0 / 0.5132 GB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.919e-05/0.238, allocations: 8 kB / 0.5132 GB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.2381, allocations: 0 / 0.5132 GB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.2381, allocations: 7.984 kB / 0.5133 GB, free: 7.262 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.029e-05/0.2382, allocations: 111.2 kB / 0.5134 GB, free: 7.152 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2382, allocations: 0 / 0.5134 GB, free: 7.152 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002034/0.2384, allocations: 8 kB / 0.5134 GB, free: 7.145 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 9.888e-05/0.2385, allocations: 91.25 kB / 0.5135 GB, free: 7.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.2386, allocations: 39.91 kB / 0.5135 GB, free: 7.008 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2386, allocations: 4.25 kB / 0.5135 GB, free: 7.004 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.502e-05/0.2387, allocations: 8 kB / 0.5135 GB, free: 6.996 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.2389, allocations: 31.7 kB / 0.5135 GB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.2393, allocations: 202.8 kB / 0.5137 GB, free: 6.734 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.2396, allocations: 0.7004 MB / 0.5144 GB, free: 6.008 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.15e-05/0.2396, allocations: 12.23 kB / 0.5144 GB, free: 5.992 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.2397, allocations: 11.44 kB / 0.5144 GB, free: 5.984 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2397, allocations: 0 / 0.5144 GB, free: 5.984 MB / 362.7 MB Notification: Performance of Templates: time 0.002326/0.242, allocations: 0.5203 MB / 0.5149 GB, free: 5.469 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches