Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001846/0.001846, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.4 MB / 223.1 MB, free: 9.039 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.0009113/0.0009112, allocations: 92.09 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003212, allocations: 8 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3496, allocations: 47.57 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.4729, allocations: 77.87 MB / 453.7 MB, free: 2.797 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/0.4733, allocations: 75.95 kB / 453.8 MB, free: 2.723 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01374/0.4871, allocations: 5.194 MB / 459 MB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4871, allocations: 0 / 459 MB, free: 13.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.4872, allocations: 8 kB / 459 MB, free: 13.51 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.0009251/0.4881, allocations: 0.5811 MB / 459.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.4882, allocations: 12.03 kB / 459.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.086e-05/0.4882, allocations: 39.53 kB / 459.6 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.4886, allocations: 287.6 kB / 459.9 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.4887, allocations: 24.61 kB / 459.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.582e-05/0.4887, allocations: 28 kB / 459.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006872/0.4894, allocations: 306 kB / 460.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.4895, allocations: 0 / 460.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.324e-05/0.4895, allocations: 16 kB / 460.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.4896, allocations: 8 kB / 460.3 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006853/0.4903, allocations: 306.4 kB / 460.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002193/0.4925, allocations: 1.216 MB / 461.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008961/0.4934, allocations: 318.8 kB / 462.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.4934, allocations: 0 / 462.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.4935, allocations: 42.86 kB / 462.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.252e-06/0.4935, allocations: 0 / 462.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.002251/0.4957, allocations: 0.8312 MB / 463 MB, free: 9.277 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.4958, allocations: 59.36 kB / 463 MB, free: 9.207 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.4961, allocations: 233.9 kB / 463.2 MB, free: 8.977 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.4962, allocations: 29.7 kB / 463.3 MB, free: 8.941 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.4964, allocations: 207.8 kB / 463.5 MB, free: 8.734 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.4964, allocations: 71 kB / 463.5 MB, free: 8.664 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.4964, allocations: 4 kB / 463.5 MB, free: 8.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4966, allocations: 338.8 kB / 463.9 MB, free: 8.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.4968, allocations: 87.95 kB / 464 MB, free: 8.234 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.4972, allocations: 190.9 kB / 464.2 MB, free: 8.008 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.4974, allocations: 118.3 kB / 464.3 MB, free: 7.895 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4974, allocations: 4 kB / 464.3 MB, free: 7.891 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001121/0.4986, allocations: 0.4987 MB / 464.8 MB, free: 7.379 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006188/0.4992, allocations: 1.131 MB / 465.9 MB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.4992, allocations: 7.984 kB / 465.9 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005706/0.4998, allocations: 141.6 kB / 466 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.5, allocations: 47.92 kB / 466.1 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.5012, allocations: 1.218 MB / 467.3 MB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.5015, allocations: 51.67 kB / 467.4 MB, free: 4.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.5015, allocations: 8 kB / 467.4 MB, free: 4.633 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.639e-06/0.5015, allocations: 7.938 kB / 467.4 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000416/0.502, allocations: 265.3 kB / 467.6 MB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.502, allocations: 11.97 kB / 467.6 MB, free: 4.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000108/0.5021, allocations: 49.69 kB / 467.7 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.5023, allocations: 59.97 kB / 467.8 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.5045, allocations: 2.824 MB / 470.6 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.5047, allocations: 31.69 kB / 470.6 MB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.5047, allocations: 8 kB / 470.6 MB, free: 1.098 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.0002575/0.5049, allocations: 217.1 kB / 470.8 MB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.706e-05/0.505, allocations: 31.67 kB / 470.9 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.514e-05/0.5051, allocations: 30.17 kB / 470.9 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5051, allocations: 4.062 kB / 470.9 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.5051, allocations: 0 / 470.9 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5051, allocations: 0 / 470.9 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.5056, allocations: 329.3 kB / 471.2 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5056, allocations: 3.953 kB / 471.2 MB, free: 444 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.5058, allocations: 31.98 kB / 471.3 MB, free: 412 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004856/0.5063, allocations: 129.9 kB / 471.4 MB, free: 276 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.5063, allocations: 7.984 kB / 471.4 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004126/0.5105, allocations: 3.19 MB / 474.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5105, allocations: 0 / 474.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.5117, allocations: 0.613 MB / 475.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.49e-05/0.5118, allocations: 97.08 kB / 475.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.5119, allocations: 11.95 kB / 475.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.5121, allocations: 40.03 kB / 475.3 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.56e-05/0.5122, allocations: 15.97 kB / 475.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.5122, allocations: 11.98 kB / 475.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001943/0.5124, allocations: 186 kB / 475.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5125, allocations: 0 / 475.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006458/0.5131, allocations: 151.6 kB / 475.7 MB, free: 11.65 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.0001839/0.5133, allocations: 115.2 kB / 475.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.5143, allocations: 0.6079 MB / 476.4 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5144, allocations: 4.062 kB / 476.4 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004237/0.5148, allocations: 349.3 kB / 476.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.5152, allocations: 53.03 kB / 476.8 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.5164, allocations: 0.6991 MB / 477.5 MB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.5167, allocations: 0.7732 MB / 478.3 MB, free: 8.949 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.5169, allocations: 30.97 kB / 478.3 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.5169, allocations: 23.44 kB / 478.3 MB, free: 8.891 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5169, allocations: 0 / 478.3 MB, free: 8.891 MB / 362.7 MB Notification: Performance of Templates: time 0.007304/0.5242, allocations: 3.732 MB / 482.1 MB, free: 5.176 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins/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_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,c.v,f,opAmp1.V0,opAmp1.Vns,opAmp1.Vps,opAmp1.homotopyType,opAmp1.out.i,opAmp1.out.v,opAmp1.simplifiedExpr,opAmp1.strict,opAmp1.useSupply,opAmp1.vns,opAmp1.vps,opAmp2.V0,opAmp2.Vns,opAmp2.Vps,opAmp2.homotopyType,opAmp2.out.i,opAmp2.out.v,opAmp2.strict,opAmp2.useSupply,opAmp2.vns,opAmp2.vps,r.R,r.T,r.T_heatPort,r.T_ref,r.alpha,r1.R,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r2.R,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,time,vOutRectangle.v,vOutTriangle.v