Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002144/0.002143, allocations: 186.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 98.66 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003974, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3323, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.4595, allocations: 79.12 MB / 453.7 MB, free: 1.633 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/0.4599, allocations: 79.95 kB / 453.7 MB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02798/0.4879, allocations: 5.682 MB / 459.4 MB, free: 11.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.488, allocations: 0 / 459.4 MB, free: 11.85 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.635e-05/0.488, allocations: 7.984 kB / 459.4 MB, free: 11.84 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001644/0.4897, allocations: 0.5989 MB / 460 MB, free: 11.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4897, allocations: 12.03 kB / 460 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.4899, allocations: 31.62 kB / 460.1 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004761/0.4904, allocations: 271.3 kB / 460.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.4904, allocations: 20.39 kB / 460.4 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.073e-05/0.4905, allocations: 20 kB / 460.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.4915, allocations: 263.1 kB / 460.6 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.4915, allocations: 0 / 460.6 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.986e-05/0.4916, allocations: 4 kB / 460.6 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.4916, allocations: 11.98 kB / 460.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.4931, allocations: 289.5 kB / 460.9 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002653/0.4957, allocations: 0.9324 MB / 461.9 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.4972, allocations: 274.5 kB / 462.1 MB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.4973, allocations: 0 / 462.1 MB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007602/0.4981, allocations: 194 kB / 462.3 MB, free: 8.742 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.984e-06/0.4981, allocations: 0 / 462.3 MB, free: 8.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.003411/0.5015, allocations: 0.659 MB / 463 MB, free: 8.055 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.902e-05/0.5017, allocations: 110.8 kB / 463.1 MB, free: 7.922 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004205/0.5021, allocations: 237.7 kB / 463.3 MB, free: 7.688 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/0.5021, allocations: 29.7 kB / 463.4 MB, free: 7.652 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.5023, allocations: 234.2 kB / 463.6 MB, free: 7.422 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.5024, allocations: 35.45 kB / 463.6 MB, free: 7.387 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.381e-05/0.5024, allocations: 4 kB / 463.6 MB, free: 7.383 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.5026, allocations: 326.8 kB / 463.9 MB, free: 7.055 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005949/0.5032, allocations: 111.9 kB / 464.1 MB, free: 6.945 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006637/0.5039, allocations: 182.9 kB / 464.2 MB, free: 6.734 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006206/0.5045, allocations: 154.5 kB / 464.4 MB, free: 6.578 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.5045, allocations: 0 / 464.4 MB, free: 6.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001879/0.5064, allocations: 429.7 kB / 464.8 MB, free: 6.145 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000409/0.5069, allocations: 0.815 MB / 465.6 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.5069, allocations: 8 kB / 465.6 MB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005065/0.5074, allocations: 72.81 kB / 465.7 MB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.5078, allocations: 47.97 kB / 465.7 MB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.509, allocations: 0.681 MB / 466.4 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006037/0.5097, allocations: 59.78 kB / 466.5 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.5097, allocations: 8 kB / 466.5 MB, free: 4.359 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.5097, allocations: 4 kB / 466.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001332/0.5111, allocations: 331.9 kB / 466.8 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.5111, allocations: 7.938 kB / 466.8 MB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.5113, allocations: 40.83 kB / 466.9 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.5117, allocations: 47.91 kB / 466.9 MB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.5136, allocations: 1.558 MB / 468.5 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004608/0.5141, allocations: 43.81 kB / 468.5 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.5141, allocations: 8 kB / 468.5 MB, free: 2.188 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002893/0.5144, allocations: 222.9 kB / 468.7 MB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.61e-05/0.5145, allocations: 27.7 kB / 468.8 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.965e-05/0.5146, allocations: 29.89 kB / 468.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.5146, allocations: 0 / 468.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5146, allocations: 0 / 468.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.5146, allocations: 0 / 468.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.5151, allocations: 305.3 kB / 469.1 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.5151, allocations: 0 / 469.1 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.5153, allocations: 23.98 kB / 469.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004078/0.5158, allocations: 76.8 kB / 469.2 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.5158, allocations: 0 / 469.2 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003237/0.5191, allocations: 1.764 MB / 471 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.5191, allocations: 0 / 471 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.5208, allocations: 373.5 kB / 471.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.521, allocations: 108.6 kB / 471.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.238e-05/0.521, allocations: 8 kB / 471.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.5215, allocations: 35.95 kB / 471.5 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.5216, allocations: 19.97 kB / 471.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.5217, allocations: 12 kB / 471.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002973/0.522, allocations: 186 kB / 471.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.522, allocations: 0 / 471.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007862/0.5228, allocations: 115.8 kB / 471.8 MB, free: 14.67 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001995/0.523, allocations: 119.1 kB / 471.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002602/0.5256, allocations: 0.6767 MB / 472.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.5256, allocations: 4.062 kB / 472.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008131/0.5265, allocations: 254.5 kB / 472.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.5269, allocations: 40.53 kB / 472.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003784/0.5307, allocations: 0.9113 MB / 473.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.5311, allocations: 0.7524 MB / 474.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.5313, allocations: 19.44 kB / 474.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5313, allocations: 4 kB / 474.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of Templates: time 0.009135/0.5404, allocations: 3.992 MB / 478.6 MB, free: 7.816 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches