Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 177 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.3 MB / 241.4 MB, free: 11.6 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008118/0.0008118, allocations: 91.72 kB / 292.6 MB, free: 10.76 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004668, allocations: 12 kB / 352.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3229, allocations: 50.4 MB / 402.8 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.4479, allocations: 81.73 MB / 484.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004741/0.4485, allocations: 85.77 kB / 484.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02123/0.4698, allocations: 6.945 MB / 491.5 MB, free: 7.531 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.018e-06/0.4699, allocations: 0 / 491.5 MB, free: 7.531 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.978e-05/0.4699, allocations: 8 kB / 491.5 MB, free: 7.523 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001828/0.4717, allocations: 0.6533 MB / 492.2 MB, free: 6.816 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.437e-05/0.4718, allocations: 11.97 kB / 492.2 MB, free: 6.805 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.4721, allocations: 48.45 kB / 492.2 MB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006539/0.4727, allocations: 311.2 kB / 492.5 MB, free: 6.418 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/0.4728, allocations: 20.94 kB / 492.6 MB, free: 6.398 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.788e-05/0.4729, allocations: 28.38 kB / 492.6 MB, free: 6.371 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009073/0.4738, allocations: 360.1 kB / 492.9 MB, free: 6.012 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.4738, allocations: 3.938 kB / 493 MB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.328e-05/0.4739, allocations: 16 kB / 493 MB, free: 5.992 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.4739, allocations: 11.98 kB / 493 MB, free: 5.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009165/0.4748, allocations: 330 kB / 493.3 MB, free: 5.656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/0.4776, allocations: 1.326 MB / 494.6 MB, free: 4.238 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007403/0.4783, allocations: 254.4 kB / 494.9 MB, free: 3.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/0.4787, allocations: 128.8 kB / 495 MB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.4788, allocations: 4 kB / 495 MB, free: 3.848 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005766/0.4794, allocations: 206.8 kB / 495.2 MB, free: 3.625 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 2.495e-06/0.4794, allocations: 0 / 495.2 MB, free: 3.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.002636/0.482, allocations: 0.7655 MB / 496 MB, free: 2.832 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.4822, allocations: 106.8 kB / 496.1 MB, free: 2.703 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004951/0.4827, allocations: 295 kB / 496.4 MB, free: 2.406 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.4827, allocations: 29.7 kB / 496.4 MB, free: 2.371 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.4829, allocations: 207.5 kB / 496.6 MB, free: 2.164 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.545e-05/0.483, allocations: 55.25 kB / 496.6 MB, free: 2.109 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.576e-05/0.4831, allocations: 8 kB / 496.7 MB, free: 2.102 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.4833, allocations: 342.8 kB / 497 MB, free: 1.758 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000422/0.4837, allocations: 127.9 kB / 497.1 MB, free: 1.633 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000453/0.4842, allocations: 219.9 kB / 497.3 MB, free: 1.375 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008235/0.485, allocations: 354.1 kB / 497.7 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.485, allocations: 4 kB / 497.7 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001392/0.4864, allocations: 0.5117 MB / 498.2 MB, free: 468 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.197e-05/0.4865, allocations: 41.62 kB / 498.2 MB, free: 420 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.4865, allocations: 4 kB / 498.2 MB, free: 416 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004678/0.487, allocations: 100.8 kB / 498.3 MB, free: 312 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.4873, allocations: 59.84 kB / 498.4 MB, free: 252 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002981/0.4903, allocations: 1.83 MB / 0.4885 GB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/0.4908, allocations: 67.64 kB / 0.4886 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.4909, allocations: 12 kB / 0.4886 GB, free: 14.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002905/0.4912, allocations: 157.8 kB / 0.4887 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.839e-05/0.4912, allocations: 23.72 kB / 0.4887 GB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.965e-05/0.4913, allocations: 25.86 kB / 0.4888 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4913, allocations: 4.125 kB / 0.4888 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4913, allocations: 4 kB / 0.4888 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4913, allocations: 0 / 0.4888 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.4918, allocations: 349.3 kB / 0.4891 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.4918, allocations: 0 / 0.4891 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.492, allocations: 35.97 kB / 0.4891 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000295/0.4923, allocations: 84.8 kB / 0.4892 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.4923, allocations: 4 kB / 0.4892 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/0.4946, allocations: 1.714 MB / 0.4909 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4946, allocations: 3.938 kB / 0.4909 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.496, allocations: 0.5437 MB / 0.4914 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.4961, allocations: 104.8 kB / 0.4915 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.4961, allocations: 12 kB / 0.4916 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.4964, allocations: 40.02 kB / 0.4916 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.4965, allocations: 27.91 kB / 0.4916 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.4965, allocations: 0 / 0.4916 GB, free: 10.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002265/0.4967, allocations: 210 kB / 0.4918 GB, free: 10.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4967, allocations: 0 / 0.4918 GB, free: 10.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000449/0.4972, allocations: 95.94 kB / 0.4919 GB, free: 10.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001868/0.4974, allocations: 111.2 kB / 0.492 GB, free: 10.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.4984, allocations: 465.9 kB / 0.4925 GB, free: 9.949 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4985, allocations: 0.5625 kB / 0.4925 GB, free: 9.949 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004867/0.4989, allocations: 266.4 kB / 0.4927 GB, free: 9.676 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.4994, allocations: 56.73 kB / 0.4928 GB, free: 9.621 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.5008, allocations: 0.7004 MB / 0.4935 GB, free: 8.898 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.5012, allocations: 0.768 MB / 0.4942 GB, free: 8.102 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.5013, allocations: 26.97 kB / 0.4942 GB, free: 8.074 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.5014, allocations: 19.44 kB / 0.4942 GB, free: 8.055 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5014, allocations: 0 / 0.4942 GB, free: 8.055 MB / 378.7 MB Notification: Performance of Templates: time 0.01151/0.5129, allocations: 3.979 MB / 0.4981 GB, free: 4.125 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches