Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009743/0.0009743, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.17/1.17, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000829/0.0008292, allocations: 99.56 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002013/0.0002013, allocations: 8 kB / 357.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1855, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09316/0.2787, allocations: 83.66 MB / 493.1 MB, free: 6.973 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.2789, allocations: 83.95 kB / 493.2 MB, free: 6.891 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02622/0.3052, allocations: 9.948 MB / 0.4913 GB, free: 12.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.967e-06/0.3052, allocations: 3.984 kB / 0.4913 GB, free: 12.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.859e-05/0.3053, allocations: 12 kB / 0.4913 GB, free: 12.89 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.00174/0.307, allocations: 0.8586 MB / 0.4922 GB, free: 11.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3071, allocations: 8.031 kB / 0.4922 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004255/0.3075, allocations: 99.81 kB / 0.4923 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006864/0.3082, allocations: 402.2 kB / 0.4927 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/0.3083, allocations: 37.31 kB / 0.4927 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-05/0.3084, allocations: 56 kB / 0.4928 GB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009718/0.3093, allocations: 0.5495 MB / 0.4933 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.3094, allocations: 0 / 0.4933 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/0.3094, allocations: 24 kB / 0.4933 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.3094, allocations: 12 kB / 0.4933 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008553/0.3103, allocations: 433 kB / 0.4937 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002964/0.3133, allocations: 1.859 MB / 0.4955 GB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007547/0.3141, allocations: 0.5484 MB / 0.4961 GB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.3141, allocations: 4.328 kB / 0.4961 GB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004973/0.3146, allocations: 298.1 kB / 0.4964 GB, free: 7.457 MB / 378.7 MB Notification: Performance of pre-optimization done (n=41): time 1.563e-06/0.3146, allocations: 4 kB / 0.4964 GB, free: 7.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=41): time 0.003074/0.3177, allocations: 1.146 MB / 0.4975 GB, free: 6.277 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.3178, allocations: 235.3 kB / 0.4977 GB, free: 5.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/0.3182, allocations: 385 kB / 0.4981 GB, free: 5.605 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.3183, allocations: 33.7 kB / 0.4981 GB, free: 5.566 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.3185, allocations: 308.1 kB / 0.4984 GB, free: 5.262 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.864e-05/0.3186, allocations: 141.9 kB / 0.4985 GB, free: 5.121 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/0.3186, allocations: 15.94 kB / 0.4986 GB, free: 5.105 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3187, allocations: 362.7 kB / 0.4989 GB, free: 4.742 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.3191, allocations: 153 kB / 0.4991 GB, free: 4.594 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.3195, allocations: 317.7 kB / 0.4994 GB, free: 4.207 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.3199, allocations: 188.6 kB / 0.4995 GB, free: 4.027 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3199, allocations: 0 / 0.4995 GB, free: 4.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001566/0.3215, allocations: 0.7524 MB / 0.5003 GB, free: 3.266 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3215, allocations: 4 kB / 0.5003 GB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3215, allocations: 4 kB / 0.5003 GB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005347/0.3221, allocations: 158.5 kB / 0.5004 GB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.3224, allocations: 83.89 kB / 0.5005 GB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003859/0.3263, allocations: 2.568 MB / 0.503 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004732/0.3268, allocations: 95.42 kB / 0.5031 GB, free: 228 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.3268, allocations: 20 kB / 0.5031 GB, free: 208 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002361/0.327, allocations: 185.6 kB / 0.5033 GB, free: 12 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1714/0.4985, allocations: 46.92 kB / 0.5034 GB, free: 92.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.4988, allocations: 49.95 kB / 0.5034 GB, free: 92.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.4988, allocations: 5.312 kB / 0.5034 GB, free: 92.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4988, allocations: 0 / 0.5034 GB, free: 92.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.4988, allocations: 4.156 kB / 0.5034 GB, free: 92.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.5017, allocations: 1.229 MB / 0.5046 GB, free: 92.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.5017, allocations: 2.156 kB / 0.5046 GB, free: 92.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.502, allocations: 51.41 kB / 0.5047 GB, free: 92.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005443/0.5025, allocations: 161.9 kB / 0.5048 GB, free: 92.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.5026, allocations: 5.328 kB / 0.5048 GB, free: 92.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003583/0.5062, allocations: 2.545 MB / 0.5073 GB, free: 91.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5062, allocations: 1.375 kB / 0.5073 GB, free: 91.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.508, allocations: 0.8957 MB / 0.5082 GB, free: 91.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.5081, allocations: 130.7 kB / 0.5083 GB, free: 90.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.613e-05/0.5082, allocations: 10.2 kB / 0.5083 GB, free: 90.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.5086, allocations: 53.3 kB / 0.5084 GB, free: 90.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.901e-05/0.5087, allocations: 29.86 kB / 0.5084 GB, free: 90.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.5087, allocations: 12.83 kB / 0.5084 GB, free: 90.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003364/0.5091, allocations: 299.8 kB / 0.5087 GB, free: 90.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5091, allocations: 3.906 kB / 0.5087 GB, free: 90.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006998/0.5098, allocations: 178.6 kB / 0.5089 GB, free: 90.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {3 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002655/0.5101, allocations: 131.2 kB / 0.509 GB, free: 90.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.5118, allocations: 0.6557 MB / 0.5096 GB, free: 90.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.5119, allocations: 0.5 kB / 0.5096 GB, free: 90.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000895/0.5128, allocations: 462.7 kB / 0.5101 GB, free: 90.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.5132, allocations: 74.83 kB / 0.5101 GB, free: 90.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.5147, allocations: 1.102 MB / 0.5112 GB, free: 89.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.515, allocations: 0.8748 MB / 0.5121 GB, free: 89.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002021/0.5152, allocations: 48.3 kB / 0.5121 GB, free: 89.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.727e-05/0.5153, allocations: 35.72 kB / 0.5122 GB, free: 89.19 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5153, allocations: 3.75 kB / 0.5122 GB, free: 89.19 MB / 378.7 MB Notification: Performance of Templates: time 0.009667/0.5249, allocations: 6.295 MB / 0.5183 GB, free: 88.86 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches