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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 92.56 kB / 16.3 MB, free: 5.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 183.3 kB / 17.2 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.2 MB / 241.1 MB, free: 356 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002967, allocations: 11.94 kB / 300.7 MB, free: 6.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1104, allocations: 50.42 MB / 351.2 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003309/0.1137, allocations: 2.356 MB / 353.5 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1151, allocations: 0.7174 MB / 354.2 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.1153, allocations: 11.94 kB / 354.2 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.155e-05/0.1154, allocations: 39.73 kB / 354.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.1157, allocations: 127.6 kB / 354.4 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.1159, allocations: 91.83 kB / 354.5 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.1163, allocations: 279.4 kB / 354.8 MB, free: 384 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002304/0.1165, allocations: 94.08 kB / 354.9 MB, free: 284 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.1167, allocations: 115.6 kB / 355 MB, free: 168 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.1169, allocations: 147.4 kB / 355.1 MB, free: 20 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.1169, allocations: 20 kB / 355.1 MB, free: 0 / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.564e-05/0.117, allocations: 20.05 kB / 355.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.53e-05/0.117, allocations: 55.77 kB / 355.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.007e-05/0.1171, allocations: 77.52 kB / 355.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.1174, allocations: 279.4 kB / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.1174, allocations: 0 / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1174, allocations: 0 / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1174, allocations: 0 / 355.6 MB, free: 15.57 MB / 302.1 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.0009781/0.1184, allocations: 0.5885 MB / 356.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1184, allocations: 8.031 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.395e-05/0.1185, allocations: 39.62 kB / 356.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.1189, allocations: 278.2 kB / 356.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.1189, allocations: 24.66 kB / 356.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.119, allocations: 28 kB / 356.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006218/0.1196, allocations: 341.1 kB / 356.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.1196, allocations: 7.938 kB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.1197, allocations: 12 kB / 356.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.1197, allocations: 8 kB / 356.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006364/0.1203, allocations: 294.4 kB / 357.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.1221, allocations: 1.201 MB / 358.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008423/0.123, allocations: 310.7 kB / 358.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.123, allocations: 4 kB / 358.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.1231, allocations: 38.5 kB / 358.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.412e-06/0.1231, allocations: 0 / 358.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.002516/0.1256, allocations: 0.8953 MB / 359.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.1257, allocations: 51.41 kB / 359.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.1259, allocations: 274.6 kB / 359.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.1259, allocations: 29.7 kB / 360 MB, free: 10.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.1261, allocations: 207.8 kB / 360.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.1261, allocations: 67.08 kB / 360.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.1262, allocations: 8 kB / 360.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1263, allocations: 342.8 kB / 360.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.1265, allocations: 91.95 kB / 360.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.1268, allocations: 195.9 kB / 360.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.1271, allocations: 123.8 kB / 361 MB, free: 9.836 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.1271, allocations: 0 / 361 MB, free: 9.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001335/0.1285, allocations: 0.5456 MB / 361.5 MB, free: 9.277 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004316/0.1289, allocations: 1.221 MB / 362.7 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1289, allocations: 4 kB / 362.7 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005496/0.1295, allocations: 141.6 kB / 362.9 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.1297, allocations: 55.91 kB / 362.9 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004276/0.134, allocations: 3.364 MB / 366.3 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.1343, allocations: 51.58 kB / 366.3 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.1343, allocations: 12 kB / 366.4 MB, free: 4.066 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.1343, allocations: 4 kB / 366.4 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008224/0.1351, allocations: 377.1 kB / 366.7 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1352, allocations: 4 kB / 366.7 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/0.1354, allocations: 105.6 kB / 366.8 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.1356, allocations: 51.92 kB / 366.9 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002767/0.1384, allocations: 2.974 MB / 369.9 MB, free: 292 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.1386, allocations: 39.73 kB / 369.9 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.1387, allocations: 8 kB / 369.9 MB, free: 244 kB / 302.1 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.0002139/0.1389, allocations: 236.3 kB / 370.1 MB, free: 0 / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2586/0.3975, allocations: 20.48 kB / 370.2 MB, free: 24.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.3976, allocations: 25.28 kB / 370.2 MB, free: 24.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.3976, allocations: 2.281 kB / 370.2 MB, free: 24.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3976, allocations: 1.438 kB / 370.2 MB, free: 24.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.3976, allocations: 1.328 kB / 370.2 MB, free: 24.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.3982, allocations: 328.2 kB / 370.5 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3982, allocations: 0 / 370.5 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.3984, allocations: 29.8 kB / 370.5 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006262/0.399, allocations: 138.7 kB / 370.7 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.399, allocations: 3.906 kB / 370.7 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00572/0.4048, allocations: 3.232 MB / 373.9 MB, free: 21.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4048, allocations: 3.609 kB / 373.9 MB, free: 21.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/0.4072, allocations: 0.633 MB / 374.5 MB, free: 21.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.4073, allocations: 99.27 kB / 374.6 MB, free: 21.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.4074, allocations: 6.156 kB / 374.6 MB, free: 21.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.4078, allocations: 32.12 kB / 374.7 MB, free: 21.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.4079, allocations: 21.31 kB / 374.7 MB, free: 21.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.408, allocations: 11.61 kB / 374.7 MB, free: 21.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000431/0.4084, allocations: 193.2 kB / 374.9 MB, free: 21.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.4084, allocations: 0.5 kB / 374.9 MB, free: 21.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001361/0.4098, allocations: 160 kB / 375.1 MB, free: 21.26 MB / 302.1 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.0002477/0.41, allocations: 103.1 kB / 375.2 MB, free: 21.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.4123, allocations: 0.8447 MB / 376 MB, free: 20.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4123, allocations: 3.938 kB / 376 MB, free: 20.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006271/0.4129, allocations: 340.8 kB / 376.3 MB, free: 20.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005343/0.4135, allocations: 50.77 kB / 376.4 MB, free: 20.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.4153, allocations: 0.711 MB / 377.1 MB, free: 20.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.4156, allocations: 0.7752 MB / 377.9 MB, free: 19.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002178/0.4159, allocations: 34.58 kB / 377.9 MB, free: 19.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.155e-05/0.4159, allocations: 19.81 kB / 377.9 MB, free: 19.43 MB / 302.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4159, allocations: 0 / 377.9 MB, free: 19.43 MB / 302.1 MB Notification: Performance of Templates: time 0.01526/0.4312, allocations: 4.157 MB / 382.1 MB, free: 19.19 MB / 302.1 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.v_out,opAmp1.vns,opAmp1.vps,opAmp2.V0,opAmp2.Vns,opAmp2.Vps,opAmp2.homotopyType,opAmp2.out.i,opAmp2.out.v,opAmp2.strict,opAmp2.useSupply,opAmp2.v_out,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