Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00116/0.00116, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001144, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 56.48 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1427, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.004041/0.1468, allocations: 1.594 MB / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.148, allocations: 0.5376 MB / 361 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1482, allocations: 3.938 kB / 361 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.516e-05/0.1483, allocations: 3.938 kB / 361 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.1484, allocations: 15.86 kB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.1488, allocations: 67.19 kB / 361.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.1489, allocations: 43.84 kB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.149, allocations: 20.11 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1492, allocations: 31.91 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.965e-05/0.1493, allocations: 19.86 kB / 361.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1493, allocations: 4 kB / 361.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.685e-05/0.1493, allocations: 8 kB / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.04e-05/0.1494, allocations: 15.92 kB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.45e-05/0.1494, allocations: 27.81 kB / 361.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.1496, allocations: 59.73 kB / 361.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1496, allocations: 0 / 361.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1496, allocations: 0 / 361.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.1497, allocations: 0 / 361.4 MB, free: 10.85 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006404/0.1503, allocations: 391 kB / 361.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.1504, allocations: 12.03 kB / 361.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.1506, allocations: 16.83 kB / 361.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.151, allocations: 211.7 kB / 362 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-06/0.151, allocations: 384 / 362 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.151, allocations: 7.938 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.1514, allocations: 117.9 kB / 362.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1514, allocations: 0 / 362.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.1514, allocations: 4 kB / 362.1 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.1514, allocations: 0 / 362.1 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.068e-05/0.1515, allocations: 23.92 kB / 362.1 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.152, allocations: 274.5 kB / 362.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.1521, allocations: 75.72 kB / 362.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.901e-05/0.1522, allocations: 38.58 kB / 362.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.1522, allocations: 4 kB / 362.5 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.1522, allocations: 46.55 kB / 362.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1523, allocations: 0 / 362.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002756/0.1525, allocations: 77.52 kB / 362.6 MB, free: 9.367 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.412e-05/0.1526, allocations: 110.8 kB / 362.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.1528, allocations: 158.1 kB / 362.9 MB, free: 9.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1528, allocations: 25.7 kB / 362.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.1529, allocations: 88.05 kB / 363 MB, free: 8.949 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.1529, allocations: 8 kB / 363 MB, free: 8.941 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.153, allocations: 17.7 kB / 363 MB, free: 8.918 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1531, allocations: 314.8 kB / 363.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.893e-05/0.1532, allocations: 15.98 kB / 363.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.725e-05/0.1532, allocations: 31.44 kB / 363.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.915e-05/0.1533, allocations: 47.36 kB / 363.4 MB, free: 8.484 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1533, allocations: 0 / 363.4 MB, free: 8.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001414/0.1535, allocations: 73.52 kB / 363.5 MB, free: 8.406 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1535, allocations: 4 kB / 363.5 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.1535, allocations: 4 kB / 363.5 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1536, allocations: 0 / 363.5 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.1536, allocations: 15.92 kB / 363.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.1537, allocations: 0 / 363.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.479e-05/0.1537, allocations: 7.938 kB / 363.5 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1537, allocations: 0 / 363.5 MB, free: 8.375 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.1539, allocations: 129.9 kB / 363.7 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.164e-05/0.1539, allocations: 49.55 kB / 363.7 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.8e-05/0.154, allocations: 15.86 kB / 363.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.154, allocations: 0 / 363.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.154, allocations: 4 kB / 363.7 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.154, allocations: 3.938 kB / 363.7 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.1543, allocations: 169.7 kB / 363.9 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1543, allocations: 0 / 363.9 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.5e-05/0.1543, allocations: 15.92 kB / 363.9 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.1544, allocations: 4.062 kB / 363.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1544, allocations: 4 kB / 363.9 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1544, allocations: 7.938 kB / 363.9 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1544, allocations: 0 / 363.9 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.1546, allocations: 177 kB / 364.1 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.028e-05/0.1547, allocations: 97 kB / 364.2 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.1547, allocations: 4 kB / 364.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.1548, allocations: 3.984 kB / 364.2 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.1549, allocations: 7.938 kB / 364.2 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1549, allocations: 0 / 364.2 MB, free: 7.586 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.695e-05/0.155, allocations: 118.8 kB / 364.3 MB, free: 7.473 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.155, allocations: 0 / 364.3 MB, free: 7.473 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.1553, allocations: 4 kB / 364.3 MB, free: 7.469 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: 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 (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.000132/0.1554, allocations: 99.25 kB / 364.4 MB, free: 7.363 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.1555, allocations: 31.92 kB / 364.5 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1555, allocations: 0 / 364.5 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.748e-05/0.1556, allocations: 11.98 kB / 364.5 MB, free: 7.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.1559, allocations: 32.09 kB / 364.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/0.1563, allocations: 196.6 kB / 364.7 MB, free: 7.066 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.1567, allocations: 0.6924 MB / 365.4 MB, free: 6.348 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.346e-05/0.1567, allocations: 0 / 365.4 MB, free: 6.348 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.1567, allocations: 15.42 kB / 365.4 MB, free: 6.332 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1567, allocations: 0 / 365.4 MB, free: 6.332 MB / 302.1 MB Notification: Performance of Templates: time 0.003293/0.16, allocations: 0.5882 MB / 366 MB, free: 5.75 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches