Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 221.5 MB / 230.3 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008646/0.0008646, allocations: 93.77 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.614e-05/1.617e-05, allocations: 8 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.089/0.08903, allocations: 50.42 MB / 387.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.383/0.472, allocations: 82.09 MB / 469.6 MB, free: 12.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.4724, allocations: 80.89 kB / 469.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03448/0.5069, allocations: 9.731 MB / 479.4 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5069, allocations: 0 / 479.4 MB, free: 2.926 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.345e-05/0.507, allocations: 16 kB / 479.4 MB, free: 2.91 MB / 346.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.001645/0.5086, allocations: 0.7887 MB / 480.2 MB, free: 2.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.5087, allocations: 8.031 kB / 480.2 MB, free: 2.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.5089, allocations: 71.16 kB / 480.3 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007258/0.5096, allocations: 396.6 kB / 480.6 MB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.5096, allocations: 20.69 kB / 480.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.432e-05/0.5098, allocations: 35.98 kB / 480.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000893/0.5107, allocations: 330.5 kB / 481 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.5117, allocations: 436.2 kB / 481.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.5118, allocations: 4 kB / 481.5 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.899e-05/0.5118, allocations: 0 / 481.5 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.5119, allocations: 12 kB / 481.5 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003922/0.5158, allocations: 1.752 MB / 483.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008733/0.5167, allocations: 498.5 kB / 483.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009306/0.5176, allocations: 325.3 kB / 484 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.5177, allocations: 4.328 kB / 484 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005203/0.5182, allocations: 246.3 kB / 484.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 3.006e-06/0.5183, allocations: 0 / 484.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.001876/0.5201, allocations: 0.5515 MB / 484.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.5203, allocations: 239.3 kB / 485.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005358/0.5208, allocations: 337.2 kB / 485.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.5209, allocations: 29.7 kB / 485.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.5212, allocations: 307.9 kB / 485.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.5213, allocations: 130 kB / 485.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.5213, allocations: 4 kB / 485.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.5215, allocations: 358.8 kB / 486.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.5218, allocations: 113.1 kB / 486.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004479/0.5223, allocations: 272.5 kB / 486.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003692/0.5226, allocations: 157.5 kB / 486.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.5227, allocations: 0 / 486.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002023/0.5247, allocations: 0.6548 MB / 487.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.5247, allocations: 8 kB / 487.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.5247, allocations: 8.031 kB / 487.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006691/0.5254, allocations: 165.9 kB / 487.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.5259, allocations: 79.89 kB / 487.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004085/0.53, allocations: 2.314 MB / 489.9 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008846/0.5309, allocations: 67.61 kB / 490 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.531, allocations: 20 kB / 490 MB, free: 7.711 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real resistorGround.v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {3 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002914/0.5313, allocations: 132.9 kB / 490.2 MB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.5315, allocations: 51.39 kB / 490.2 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.5316, allocations: 44.81 kB / 490.3 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.5317, allocations: 8 kB / 490.3 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5317, allocations: 0 / 490.3 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.5317, allocations: 3.984 kB / 490.3 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002703/0.5344, allocations: 1.097 MB / 491.4 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5344, allocations: 0 / 491.4 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.5348, allocations: 47.91 kB / 491.4 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005952/0.5354, allocations: 154.5 kB / 491.6 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.5354, allocations: 4 kB / 491.6 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003953/0.5394, allocations: 2.293 MB / 493.9 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.5394, allocations: 0 / 493.9 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.5417, allocations: 0.8006 MB / 494.7 MB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.5419, allocations: 132.4 kB / 494.8 MB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.486e-05/0.542, allocations: 3.953 kB / 494.8 MB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005736/0.5426, allocations: 44.03 kB / 494.8 MB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.642e-05/0.5427, allocations: 31.89 kB / 494.9 MB, free: 2.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.5427, allocations: 15.98 kB / 494.9 MB, free: 2.641 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004044/0.5431, allocations: 259 kB / 495.1 MB, free: 2.391 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5432, allocations: 0 / 495.1 MB, free: 2.391 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001054/0.5442, allocations: 167.5 kB / 495.3 MB, free: 2.227 MB / 362.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002529/0.5445, allocations: 124.9 kB / 495.4 MB, free: 2.098 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.5457, allocations: 0.4972 MB / 495.9 MB, free: 1.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.5457, allocations: 4 kB / 495.9 MB, free: 1.586 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006926/0.5464, allocations: 329.8 kB / 496.2 MB, free: 1.254 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005386/0.547, allocations: 58.59 kB / 496.3 MB, free: 1.195 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.5486, allocations: 0.6001 MB / 496.9 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.5492, allocations: 0.875 MB / 497.8 MB, free: 15.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003198/0.5495, allocations: 39.53 kB / 497.8 MB, free: 15.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.5496, allocations: 35.44 kB / 497.8 MB, free: 15.6 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5497, allocations: 0 / 497.8 MB, free: 15.6 MB / 378.7 MB Notification: Performance of Templates: time 0.01628/0.5659, allocations: 5.9 MB / 0.4919 GB, free: 9.758 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches