Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001482/0.001482, allocations: 186.2 kB / 16.41 MB, free: 5.723 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.918/1.918, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001157/0.001156, allocations: 95.39 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004378/0.0004379, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3282, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1233/0.4516, allocations: 77.86 MB / 452.4 MB, free: 2.898 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.4519, allocations: 83.95 kB / 452.5 MB, free: 2.816 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02331/0.4753, allocations: 5.189 MB / 457.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.4753, allocations: 4 kB / 457.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.13e-05/0.4754, allocations: 12 kB / 457.7 MB, free: 13.6 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001455/0.4768, allocations: 0.585 MB / 458.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4769, allocations: 8.031 kB / 458.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.477, allocations: 39.53 kB / 458.3 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005195/0.4776, allocations: 287.5 kB / 458.6 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.4776, allocations: 32.61 kB / 458.6 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.657e-05/0.4777, allocations: 28 kB / 458.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.4787, allocations: 306 kB / 459 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.4788, allocations: 0 / 459 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.08e-05/0.4788, allocations: 12 kB / 459 MB, free: 12.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.4788, allocations: 8 kB / 459 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.4801, allocations: 314.4 kB / 459.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003387/0.4835, allocations: 1.212 MB / 460.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.485, allocations: 321.6 kB / 460.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.4851, allocations: 4 kB / 460.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.4852, allocations: 38.86 kB / 460.9 MB, free: 10.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 3.256e-06/0.4852, allocations: 0 / 460.9 MB, free: 10.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.004057/0.4892, allocations: 0.8231 MB / 461.7 MB, free: 9.367 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.4894, allocations: 59.36 kB / 461.7 MB, free: 9.297 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004317/0.4898, allocations: 241.9 kB / 462 MB, free: 9.059 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.4899, allocations: 29.7 kB / 462 MB, free: 9.023 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.4901, allocations: 262.2 kB / 462.3 MB, free: 8.766 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.869e-05/0.4902, allocations: 67.02 kB / 462.3 MB, free: 8.699 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.4902, allocations: 4 kB / 462.3 MB, free: 8.695 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4903, allocations: 322.8 kB / 462.6 MB, free: 8.371 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004232/0.4908, allocations: 99.94 kB / 462.7 MB, free: 8.273 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.4913, allocations: 186.9 kB / 462.9 MB, free: 8.051 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.4918, allocations: 114.4 kB / 463 MB, free: 7.941 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.4918, allocations: 0 / 463 MB, free: 7.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002138/0.494, allocations: 498.9 kB / 463.5 MB, free: 7.441 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005868/0.4946, allocations: 1.136 MB / 464.7 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.4946, allocations: 4 kB / 464.7 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009132/0.4956, allocations: 141.6 kB / 464.8 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.496, allocations: 51.91 kB / 464.9 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/0.4978, allocations: 1.214 MB / 466.1 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.4983, allocations: 51.52 kB / 466.1 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.4983, allocations: 11.98 kB / 466.1 MB, free: 4.691 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.4983, allocations: 4 kB / 466.1 MB, free: 4.688 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007309/0.4991, allocations: 273.2 kB / 466.4 MB, free: 4.414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.4991, allocations: 7.938 kB / 466.4 MB, free: 4.406 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002648/0.4994, allocations: 49.69 kB / 466.5 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.4998, allocations: 51.92 kB / 466.5 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/0.5027, allocations: 2.821 MB / 469.3 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.503, allocations: 39.56 kB / 469.4 MB, free: 1.168 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.503, allocations: 8 kB / 469.4 MB, free: 1.16 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (30): * Single equations (assignments): 28 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003212/0.5033, allocations: 221.1 kB / 469.6 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-05/0.5034, allocations: 35.67 kB / 469.6 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.403e-05/0.5035, allocations: 26.17 kB / 469.6 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.5035, allocations: 4 kB / 469.7 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5036, allocations: 0 / 469.7 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.5036, allocations: 3.984 kB / 469.7 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005502/0.5041, allocations: 325.3 kB / 470 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.5042, allocations: 4.234 kB / 470 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.5044, allocations: 27.98 kB / 470 MB, free: 476 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007546/0.5052, allocations: 141.6 kB / 470.1 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.5052, allocations: 4 kB / 470.1 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006206/0.5115, allocations: 3.19 MB / 473.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.5115, allocations: 0 / 473.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/0.5139, allocations: 0.6013 MB / 473.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.5141, allocations: 108.9 kB / 474 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/0.5142, allocations: 7.953 kB / 474.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003938/0.5146, allocations: 27.98 kB / 474.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-05/0.5147, allocations: 15.97 kB / 474.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.5147, allocations: 8 kB / 474.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002965/0.515, allocations: 194 kB / 474.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.515, allocations: 4 kB / 474.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009335/0.516, allocations: 151.5 kB / 474.4 MB, free: 11.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002033/0.5162, allocations: 111.2 kB / 474.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001769/0.518, allocations: 0.6113 MB / 475.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.518, allocations: 0 / 475.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007518/0.5188, allocations: 357.9 kB / 475.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.5194, allocations: 41.09 kB / 475.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.5212, allocations: 0.7403 MB / 476.3 MB, free: 9.773 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.5217, allocations: 0.7693 MB / 477.1 MB, free: 8.977 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.5218, allocations: 23.44 kB / 477.1 MB, free: 8.953 MB / 362.7 MB Notification: Performance of SimCode: time 1.553e-06/0.5218, allocations: 4 kB / 477.1 MB, free: 8.949 MB / 362.7 MB Notification: Performance of Templates: time 0.01174/0.5336, allocations: 5.408 MB / 482.5 MB, free: 3.547 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,c.v,opAmp1.out.v,opAmp1.out.i,opAmp2.out.v,opAmp2.out.i Variables in the result:C,R,R1,R2,VAmp,Vns,Vps,c.C,der(c.v),c.i,c.n.i,c.n.v,c.p.i,c.p.v,c.v,f,ground.p.i,ground.p.v,opAmp1.V0,opAmp1.Vns,opAmp1.Vps,opAmp1.homotopyType,opAmp1.i_s,opAmp1.in_n.i,opAmp1.in_n.v,opAmp1.in_p.i,opAmp1.in_p.v,opAmp1.out.i,opAmp1.out.v,opAmp1.p_in,opAmp1.p_out,opAmp1.p_s,opAmp1.strict,opAmp1.useSupply,opAmp1.v_in,opAmp1.v_out,opAmp1.vns,opAmp1.vps,opAmp2.V0,opAmp2.Vns,opAmp2.Vps,opAmp2.homotopyType,opAmp2.i_s,opAmp2.in_n.i,opAmp2.in_n.v,opAmp2.in_p.i,opAmp2.in_p.v,opAmp2.out.i,opAmp2.out.v,opAmp2.p_in,opAmp2.p_out,opAmp2.p_s,opAmp2.strict,opAmp2.useSupply,opAmp2.v_in,opAmp2.v_out,opAmp2.vns,opAmp2.vps,r.LossPower,r.R,r.R_actual,r.T,r.T_heatPort,r.T_ref,r.alpha,r.i,r.n.i,r.n.v,r.p.i,r.p.v,r.v,r1.LossPower,r1.R,r1.R_actual,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r1.i,r1.n.i,r1.n.v,r1.p.i,r1.p.v,r1.v,r2.LossPower,r2.R,r2.R_actual,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,r2.i,r2.n.i,r2.n.v,r2.p.i,r2.p.v,r2.v,time,vOutRectangle.n.i,vOutRectangle.n.v,vOutRectangle.p.i,vOutRectangle.p.v,vOutRectangle.v,vOutTriangle.n.i,vOutTriangle.n.v,vOutTriangle.p.i,vOutTriangle.p.v,vOutTriangle.v