Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 180.6 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.344/1.344, allocations: 223.2 MB / 240.3 MB, free: 10.15 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.0009201/0.0009201, allocations: 97.61 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002371/0.0002371, allocations: 11.98 kB / 351.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2882, allocations: 50.41 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.107/0.3953, allocations: 83.99 MB / 485.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.3956, allocations: 79.95 kB / 485.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08208/0.4777, allocations: 23.98 MB / 0.4976 GB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4777, allocations: 0 / 0.4976 GB, free: 4.301 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.91e-05/0.4778, allocations: 32 kB / 0.4976 GB, free: 4.27 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003972/0.4818, allocations: 1.512 MB / 0.4991 GB, free: 2.703 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.4819, allocations: 16.03 kB / 0.4991 GB, free: 2.688 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003536/0.4823, allocations: 155.5 kB / 0.4993 GB, free: 2.535 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.4839, allocations: 0.7351 MB / 0.5 GB, free: 1.754 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.484, allocations: 98.39 kB / 0.5001 GB, free: 1.656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.4842, allocations: 116 kB / 0.5002 GB, free: 1.543 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003684/0.4879, allocations: 1.309 MB / 0.5015 GB, free: 188 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/0.488, allocations: 0 / 0.5015 GB, free: 188 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/0.4881, allocations: 52 kB / 0.5015 GB, free: 136 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.638e-05/0.4882, allocations: 28 kB / 0.5016 GB, free: 108 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.23/0.7182, allocations: 1.152 MB / 0.5027 GB, free: 89.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01186/0.7302, allocations: 5.102 MB / 0.5077 GB, free: 87.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/0.7325, allocations: 1.264 MB / 0.5089 GB, free: 87.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.594e-05/0.7326, allocations: 7.906 kB / 0.5089 GB, free: 87.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.7326, allocations: 50.03 kB / 0.509 GB, free: 87.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 2.846e-06/0.7327, allocations: 0 / 0.509 GB, free: 87.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.007806/0.7405, allocations: 3.153 MB / 0.512 GB, free: 86.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.964e-05/0.7406, allocations: 88.42 kB / 0.5121 GB, free: 86.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009398/0.7415, allocations: 0.7181 MB / 0.5128 GB, free: 86.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.405e-05/0.7416, allocations: 40.7 kB / 0.5129 GB, free: 86.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000367/0.742, allocations: 0.5959 MB / 0.5134 GB, free: 86.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.7422, allocations: 277.8 kB / 0.5137 GB, free: 86.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.7422, allocations: 19.34 kB / 0.5137 GB, free: 86.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.7423, allocations: 346.6 kB / 0.5141 GB, free: 85.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007916/0.7431, allocations: 394.3 kB / 0.5144 GB, free: 85.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008768/0.744, allocations: 0.6104 MB / 0.515 GB, free: 85.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008516/0.7449, allocations: 449.6 kB / 0.5155 GB, free: 85.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.7449, allocations: 3.938 kB / 0.5155 GB, free: 85.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002887/0.7478, allocations: 1.427 MB / 0.5169 GB, free: 85.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.7478, allocations: 6.812 kB / 0.5169 GB, free: 85.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.7479, allocations: 7.844 kB / 0.5169 GB, free: 85.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008627/0.7487, allocations: 238 kB / 0.5171 GB, free: 84.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00328/0.752, allocations: 0.9363 MB / 0.518 GB, free: 84.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/0.763, allocations: 10.35 MB / 0.5281 GB, free: 76.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.7642, allocations: 155 kB / 0.5283 GB, free: 76.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.611e-05/0.7643, allocations: 47.88 kB / 0.5283 GB, free: 76.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (113): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 7,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006398/0.7649, allocations: 280.7 kB / 0.5286 GB, free: 75.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.7651, allocations: 102.6 kB / 0.5287 GB, free: 75.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.7653, allocations: 109.3 kB / 0.5288 GB, free: 75.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.7653, allocations: 7.281 kB / 0.5288 GB, free: 75.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/0.7653, allocations: 2.531 kB / 0.5288 GB, free: 75.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.7653, allocations: 3.938 kB / 0.5288 GB, free: 75.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004652/0.77, allocations: 2.542 MB / 0.5313 GB, free: 74.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.77, allocations: 2.062 kB / 0.5313 GB, free: 74.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005318/0.7706, allocations: 123.9 kB / 0.5314 GB, free: 74.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001226/0.7718, allocations: 442.8 kB / 0.5318 GB, free: 74.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.609e-05/0.7719, allocations: 19.75 kB / 0.5318 GB, free: 74.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009956/0.7818, allocations: 10.29 MB / 0.5419 GB, free: 63.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7819, allocations: 3.75 kB / 0.5419 GB, free: 63.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00425/0.7861, allocations: 2.08 MB / 0.5439 GB, free: 61.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004215/0.7866, allocations: 183.5 kB / 0.5441 GB, free: 61.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.7867, allocations: 24 kB / 0.5441 GB, free: 61.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007121/0.7874, allocations: 115.3 kB / 0.5442 GB, free: 61.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.7876, allocations: 66.73 kB / 0.5443 GB, free: 61.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.7876, allocations: 27.14 kB / 0.5443 GB, free: 61.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000648/0.7883, allocations: 0.5444 MB / 0.5449 GB, free: 60.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7883, allocations: 0 / 0.5449 GB, free: 60.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00135/0.7897, allocations: 363 kB / 0.5452 GB, free: 60.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * 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 (58): * Single equations (assignments): 52 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 5 {1 5,1 5,1 1,1 7,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002276/0.7899, allocations: 127.1 kB / 0.5453 GB, free: 60.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004854/0.7948, allocations: 2.063 MB / 0.5473 GB, free: 58.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.7948, allocations: 0 / 0.5473 GB, free: 58.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.7962, allocations: 1.172 MB / 0.5485 GB, free: 57.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.7975, allocations: 189.2 kB / 0.5487 GB, free: 57.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00523/0.8028, allocations: 2.944 MB / 0.5515 GB, free: 54.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004895/0.8033, allocations: 1.101 MB / 0.5526 GB, free: 53.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005213/0.8038, allocations: 105.6 kB / 0.5527 GB, free: 53.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.804, allocations: 55.44 kB / 0.5528 GB, free: 53.45 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.804, allocations: 0 / 0.5528 GB, free: 53.45 MB / 378.7 MB Notification: Performance of Templates: time 0.01941/0.8234, allocations: 13 MB / 0.5655 GB, free: 41.47 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches