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.001267/0.001267, allocations: 181.9 kB / 16.39 MB, free: 5.762 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.378/1.378, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0008873/0.000887, allocations: 91.95 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002518/0.000252, allocations: 4 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2671, allocations: 50.41 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1028/0.37, allocations: 81.7 MB / 483.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.3703, allocations: 84.52 kB / 483.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01845/0.3887, allocations: 6.941 MB / 490.2 MB, free: 7.742 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3888, allocations: 4 kB / 490.2 MB, free: 7.738 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.3888, allocations: 11.94 kB / 490.2 MB, free: 7.727 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.001125/0.3899, allocations: 0.6531 MB / 490.9 MB, free: 7.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.39, allocations: 16.02 kB / 490.9 MB, free: 7.004 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.905e-05/0.3901, allocations: 35.53 kB / 490.9 MB, free: 6.969 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.3905, allocations: 306 kB / 491.2 MB, free: 6.633 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.3905, allocations: 16.56 kB / 491.3 MB, free: 6.617 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.3906, allocations: 36 kB / 491.3 MB, free: 6.582 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007275/0.3913, allocations: 356 kB / 491.6 MB, free: 6.227 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3913, allocations: 3.953 kB / 491.6 MB, free: 6.223 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.3914, allocations: 12 kB / 491.7 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.3914, allocations: 7.984 kB / 491.7 MB, free: 6.203 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000773/0.3922, allocations: 330 kB / 492 MB, free: 5.879 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.3943, allocations: 1.323 MB / 493.3 MB, free: 4.465 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006508/0.3949, allocations: 255.9 kB / 493.6 MB, free: 4.207 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.395, allocations: 7.938 kB / 493.6 MB, free: 4.199 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005026/0.3955, allocations: 205.8 kB / 493.8 MB, free: 3.977 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.3955, allocations: 0 / 493.8 MB, free: 3.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.002219/0.3977, allocations: 0.7605 MB / 494.5 MB, free: 3.188 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/0.3978, allocations: 102.8 kB / 494.6 MB, free: 3.062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.3981, allocations: 262.1 kB / 494.9 MB, free: 2.805 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.3981, allocations: 37.7 kB / 494.9 MB, free: 2.762 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.3983, allocations: 211.5 kB / 495.1 MB, free: 2.551 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.3983, allocations: 47.27 kB / 495.2 MB, free: 2.504 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/0.3984, allocations: 8 kB / 495.2 MB, free: 2.496 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3985, allocations: 334.8 kB / 495.5 MB, free: 2.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/0.3988, allocations: 127.9 kB / 495.6 MB, free: 2.035 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/0.3993, allocations: 223.9 kB / 495.9 MB, free: 1.773 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.3997, allocations: 172.6 kB / 496 MB, free: 1.602 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3997, allocations: 3.938 kB / 496 MB, free: 1.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00119/0.4009, allocations: 0.5192 MB / 496.5 MB, free: 1.062 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.4009, allocations: 30.64 kB / 496.6 MB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.4009, allocations: 4 kB / 496.6 MB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003953/0.4013, allocations: 96.78 kB / 496.7 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.4016, allocations: 67.89 kB / 496.7 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002704/0.4043, allocations: 1.865 MB / 498.6 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/0.4047, allocations: 55.72 kB / 498.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.4048, allocations: 16 kB / 498.7 MB, free: 14.79 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.0001898/0.4049, allocations: 154.4 kB / 498.8 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.405, allocations: 27.66 kB / 498.9 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.207e-05/0.4051, allocations: 29.86 kB / 498.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4051, allocations: 0 / 498.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.4051, allocations: 0 / 498.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4051, allocations: 7.891 kB / 498.9 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.4054, allocations: 345.6 kB / 499.2 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4054, allocations: 128 / 499.2 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.4056, allocations: 47.97 kB / 499.3 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002511/0.4059, allocations: 84.8 kB / 499.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.4059, allocations: 0 / 499.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.4079, allocations: 1.749 MB / 0.4894 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4079, allocations: 4.031 kB / 0.4894 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.4092, allocations: 0.5393 MB / 0.4899 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.956e-05/0.4093, allocations: 104.8 kB / 0.49 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.4094, allocations: 4 kB / 0.49 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.4096, allocations: 48.39 kB / 0.49 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/0.4097, allocations: 19.97 kB / 0.4901 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.4097, allocations: 4 kB / 0.4901 GB, free: 11.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002005/0.4099, allocations: 210 kB / 0.4903 GB, free: 11.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4099, allocations: 0 / 0.4903 GB, free: 11.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003924/0.4103, allocations: 95.69 kB / 0.4904 GB, free: 11.1 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.0001615/0.4105, allocations: 115.4 kB / 0.4905 GB, free: 10.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009863/0.4115, allocations: 469.9 kB / 0.4909 GB, free: 10.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4115, allocations: 0 / 0.4909 GB, free: 10.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004385/0.412, allocations: 263 kB / 0.4912 GB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.4123, allocations: 40.86 kB / 0.4912 GB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.4134, allocations: 0.7121 MB / 0.4919 GB, free: 9.441 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.4137, allocations: 0.7721 MB / 0.4927 GB, free: 8.645 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.4138, allocations: 30.95 kB / 0.4927 GB, free: 8.617 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.4139, allocations: 23.44 kB / 0.4927 GB, free: 8.594 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4139, allocations: 3.938 kB / 0.4927 GB, free: 8.59 MB / 378.7 MB Notification: Performance of Templates: time 0.006978/0.4208, allocations: 3.924 MB / 0.4965 GB, free: 4.711 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/jenkins/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