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.001478/0.001478, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.333/1.333, allocations: 221.3 MB / 235.5 MB, free: 2.934 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.0008066/0.0008066, allocations: 80.06 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.17e-05/2.177e-05, allocations: 4 kB / 343.8 MB, free: 4.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09574/0.09578, allocations: 50.42 MB / 394.3 MB, free: 1.844 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3251/0.4209, allocations: 82.75 MB / 477 MB, free: 4.781 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.4212, allocations: 89.41 kB / 477.1 MB, free: 4.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03863/0.4599, allocations: 9.846 MB / 486.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.4599, allocations: 0 / 486.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.895e-05/0.46, allocations: 12 kB / 487 MB, free: 10.8 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001645/0.4616, allocations: 0.781 MB / 487.7 MB, free: 9.977 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4617, allocations: 16.02 kB / 487.8 MB, free: 9.961 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.4619, allocations: 71.16 kB / 487.8 MB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007367/0.4626, allocations: 392.6 kB / 488.2 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.42e-05/0.4627, allocations: 49.98 kB / 488.3 MB, free: 9.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.4628, allocations: 59.94 kB / 488.3 MB, free: 9.359 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.4641, allocations: 0.5144 MB / 488.8 MB, free: 8.832 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.4641, allocations: 0 / 488.8 MB, free: 8.832 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-05/0.4642, allocations: 24 kB / 488.9 MB, free: 8.809 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.4642, allocations: 12 kB / 488.9 MB, free: 8.797 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009914/0.4652, allocations: 357.2 kB / 489.2 MB, free: 8.449 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004184/0.4694, allocations: 1.856 MB / 491.1 MB, free: 6.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009512/0.4704, allocations: 0.5019 MB / 491.6 MB, free: 5.953 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.4717, allocations: 393.3 kB / 492 MB, free: 5.566 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.844e-05/0.4717, allocations: 4.328 kB / 492 MB, free: 5.562 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005682/0.4723, allocations: 270.2 kB / 492.2 MB, free: 5.262 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 2.385e-06/0.4723, allocations: 0 / 492.2 MB, free: 5.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.002025/0.4744, allocations: 0.5828 MB / 492.8 MB, free: 4.668 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.4745, allocations: 243.3 kB / 493 MB, free: 4.375 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006449/0.4752, allocations: 379.1 kB / 493.4 MB, free: 3.996 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/0.4752, allocations: 37.7 kB / 493.4 MB, free: 3.953 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.4755, allocations: 304.1 kB / 493.7 MB, free: 3.652 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.4756, allocations: 138 kB / 493.9 MB, free: 3.516 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.4757, allocations: 8 kB / 493.9 MB, free: 3.508 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.4759, allocations: 354.8 kB / 494.2 MB, free: 3.152 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/0.4763, allocations: 125.1 kB / 494.4 MB, free: 3.031 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005024/0.4768, allocations: 297.6 kB / 494.6 MB, free: 2.668 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/0.4772, allocations: 165.5 kB / 494.8 MB, free: 2.508 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4772, allocations: 0 / 494.8 MB, free: 2.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002298/0.4795, allocations: 0.7095 MB / 495.5 MB, free: 1.789 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.4796, allocations: 5.25 kB / 495.5 MB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.4796, allocations: 4.031 kB / 495.5 MB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007796/0.4804, allocations: 168.6 kB / 495.7 MB, free: 1.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.4808, allocations: 83.89 kB / 495.8 MB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004214/0.485, allocations: 2.416 MB / 498.2 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000647/0.4857, allocations: 87.47 kB / 498.3 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.4857, allocations: 20 kB / 498.3 MB, free: 14.87 MB / 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 () * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.4859, allocations: 144.8 kB / 498.4 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.805e-05/0.486, allocations: 47.44 kB / 498.5 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.4861, allocations: 52.66 kB / 498.5 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.4861, allocations: 4 kB / 498.5 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.4862, allocations: 4 kB / 498.5 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.4862, allocations: 7.922 kB / 498.5 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00274/0.4889, allocations: 1.21 MB / 499.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4889, allocations: 0 / 499.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/0.4893, allocations: 59.91 kB / 499.8 MB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005761/0.4899, allocations: 162.2 kB / 500 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.4899, allocations: 11.94 kB / 500 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00379/0.4937, allocations: 2.355 MB / 0.4906 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4937, allocations: 7.938 kB / 0.4906 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.4959, allocations: 0.8392 MB / 0.4914 GB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.496, allocations: 128.4 kB / 0.4915 GB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.167e-05/0.4961, allocations: 12 kB / 0.4915 GB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/0.4967, allocations: 52.02 kB / 0.4916 GB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.822e-05/0.4968, allocations: 27.95 kB / 0.4916 GB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.4968, allocations: 12 kB / 0.4916 GB, free: 9.516 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004463/0.4973, allocations: 297.2 kB / 0.4919 GB, free: 9.227 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4973, allocations: 0 / 0.4919 GB, free: 9.227 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00088/0.4982, allocations: 187.5 kB / 0.4921 GB, free: 9.043 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) * 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.0002388/0.4984, allocations: 127.8 kB / 0.4922 GB, free: 8.906 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.4996, allocations: 0.5253 MB / 0.4927 GB, free: 8.367 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4996, allocations: 0 / 0.4927 GB, free: 8.367 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007689/0.5004, allocations: 367 kB / 0.4931 GB, free: 7.996 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/0.501, allocations: 63.66 kB / 0.4931 GB, free: 7.938 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.5026, allocations: 0.6357 MB / 0.4937 GB, free: 7.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005705/0.5032, allocations: 0.8753 MB / 0.4946 GB, free: 6.375 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002851/0.5035, allocations: 48.38 kB / 0.4946 GB, free: 6.328 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.952e-05/0.5036, allocations: 31.44 kB / 0.4947 GB, free: 6.297 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5036, allocations: 0 / 0.4947 GB, free: 6.297 MB / 378.7 MB Notification: Performance of Templates: time 0.01627/0.5198, allocations: 6.697 MB / 0.5012 GB, free: 15.68 MB / 394.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