Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 181.3 kB / 16.39 MB, free: 5.766 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.361/1.361, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 98.61 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002649/0.0002649, allocations: 11.94 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2756, allocations: 50.41 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.3855, allocations: 79.09 MB / 480.6 MB, free: 1.387 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003678/0.386, allocations: 83.95 kB / 480.7 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01483/0.4008, allocations: 5.325 MB / 486 MB, free: 11.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.4009, allocations: 0 / 486 MB, free: 11.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.574e-05/0.4009, allocations: 11.98 kB / 486 MB, free: 11.96 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001026/0.402, allocations: 0.585 MB / 486.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.402, allocations: 12.02 kB / 486.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.504e-05/0.4021, allocations: 39.53 kB / 486.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.4026, allocations: 275.1 kB / 486.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.4026, allocations: 24.66 kB / 486.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.4027, allocations: 31.91 kB / 487 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006555/0.4033, allocations: 345.7 kB / 487.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4034, allocations: 0 / 487.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.4034, allocations: 23.94 kB / 487.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.4034, allocations: 8 kB / 487.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006471/0.4041, allocations: 290.4 kB / 487.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.4062, allocations: 1.301 MB / 488.9 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008518/0.4071, allocations: 318.7 kB / 489.2 MB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.4072, allocations: 4 kB / 489.2 MB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.4072, allocations: 35.72 kB / 489.3 MB, free: 8.488 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.4072, allocations: 0 / 489.3 MB, free: 8.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.002465/0.4097, allocations: 0.8785 MB / 490.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.4097, allocations: 59.41 kB / 490.2 MB, free: 7.492 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.41, allocations: 233.9 kB / 490.4 MB, free: 7.266 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.41, allocations: 33.7 kB / 490.5 MB, free: 7.227 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.4101, allocations: 203.8 kB / 490.7 MB, free: 7.023 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.559e-05/0.4102, allocations: 74.98 kB / 490.7 MB, free: 6.949 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.4102, allocations: 4 kB / 490.8 MB, free: 6.945 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4104, allocations: 338.8 kB / 491.1 MB, free: 6.605 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.4106, allocations: 95.95 kB / 491.2 MB, free: 6.512 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.4109, allocations: 201.1 kB / 491.4 MB, free: 6.273 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.4112, allocations: 120.9 kB / 491.5 MB, free: 6.156 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.4112, allocations: 3.953 kB / 491.5 MB, free: 6.152 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001279/0.4125, allocations: 0.5313 MB / 492 MB, free: 5.609 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005478/0.4131, allocations: 1.231 MB / 493.3 MB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4131, allocations: 0 / 493.3 MB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005562/0.4137, allocations: 149.6 kB / 493.4 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.4139, allocations: 59.91 kB / 493.5 MB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/0.4166, allocations: 2.161 MB / 495.6 MB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.4169, allocations: 47.58 kB / 495.7 MB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.417, allocations: 12.06 kB / 495.7 MB, free: 1.688 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.417, allocations: 4 kB / 495.7 MB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008231/0.4178, allocations: 384.5 kB / 496.1 MB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4178, allocations: 4 kB / 496.1 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002668/0.4181, allocations: 93.72 kB / 496.2 MB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.4183, allocations: 59.88 kB / 496.2 MB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002954/0.4213, allocations: 2.97 MB / 499.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.4215, allocations: 39.61 kB / 499.2 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.4215, allocations: 16.06 kB / 499.2 MB, free: 13.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (31): * Single equations (assignments): 29 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002323/0.4218, allocations: 221 kB / 499.5 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.4218, allocations: 23.72 kB / 499.5 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.602e-05/0.4219, allocations: 30.17 kB / 499.5 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4219, allocations: 0 / 499.5 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4219, allocations: 0 / 499.5 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.4219, allocations: 7.984 kB / 499.5 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.4224, allocations: 325.3 kB / 499.8 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4224, allocations: 4 kB / 499.8 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.4225, allocations: 35.98 kB / 499.9 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004545/0.423, allocations: 137.6 kB / 0.4883 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.423, allocations: 0 / 0.4883 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003983/0.427, allocations: 3.221 MB / 0.4914 GB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.427, allocations: 7.984 kB / 0.4914 GB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.4285, allocations: 0.6363 MB / 0.4921 GB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-05/0.4286, allocations: 104.8 kB / 0.4922 GB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.4286, allocations: 7.984 kB / 0.4922 GB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.4289, allocations: 31.91 kB / 0.4922 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.941e-05/0.429, allocations: 24.03 kB / 0.4922 GB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.429, allocations: 8 kB / 0.4922 GB, free: 8.676 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002025/0.4292, allocations: 190 kB / 0.4924 GB, free: 8.488 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4292, allocations: 3.938 kB / 0.4924 GB, free: 8.484 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001067/0.4303, allocations: 155.5 kB / 0.4926 GB, free: 8.332 MB / 378.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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002268/0.4305, allocations: 108.1 kB / 0.4927 GB, free: 8.215 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.4323, allocations: 0.727 MB / 0.4934 GB, free: 7.449 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4323, allocations: 4.5 kB / 0.4934 GB, free: 7.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004646/0.4328, allocations: 349.3 kB / 0.4937 GB, free: 7.078 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.4332, allocations: 51.53 kB / 0.4938 GB, free: 7.031 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.4343, allocations: 0.7071 MB / 0.4945 GB, free: 6.305 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.4347, allocations: 0.7726 MB / 0.4952 GB, free: 5.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001383/0.4349, allocations: 26.97 kB / 0.4952 GB, free: 5.469 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.4349, allocations: 27.42 kB / 0.4953 GB, free: 5.441 MB / 378.7 MB Notification: Performance of SimCode: time 7.72e-07/0.4349, allocations: 3.938 kB / 0.4953 GB, free: 5.438 MB / 378.7 MB Notification: Performance of Templates: time 0.00749/0.4424, allocations: 4.002 MB / 0.4992 GB, free: 1.465 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","../files/Modelica_4.0.0_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