Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001207/0.001207, allocations: 97.52 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001503/0.001503, allocations: 203 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002812, allocations: 8 kB / 306.6 MB, free: 1.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1284, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.00311/0.1316, allocations: 2.368 MB / 360.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.1331, allocations: 0.7602 MB / 361.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.1333, allocations: 4 kB / 361.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.503e-05/0.1333, allocations: 39.67 kB / 361.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.1337, allocations: 131.6 kB / 361.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.1339, allocations: 83.89 kB / 361.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003895/0.1343, allocations: 271.4 kB / 361.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.1346, allocations: 101.8 kB / 361.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.1348, allocations: 127.5 kB / 361.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.135, allocations: 147.4 kB / 362.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.135, allocations: 16 kB / 362.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.711e-05/0.1351, allocations: 20 kB / 362.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.881e-05/0.1352, allocations: 55.7 kB / 362.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.125e-05/0.1353, allocations: 81.52 kB / 362.3 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.1355, allocations: 275.4 kB / 362.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1355, allocations: 0 / 362.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.1356, allocations: 0 / 362.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1356, allocations: 0 / 362.5 MB, free: 9.449 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.001033/0.1366, allocations: 0.5885 MB / 363.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1367, allocations: 12.03 kB / 363.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.437e-05/0.1367, allocations: 31.62 kB / 363.2 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.1371, allocations: 282.4 kB / 363.4 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.1372, allocations: 20.66 kB / 363.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/0.1372, allocations: 28 kB / 363.5 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.1379, allocations: 345 kB / 363.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.1379, allocations: 3.938 kB / 363.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.716e-05/0.1379, allocations: 12 kB / 363.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.138, allocations: 8 kB / 363.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006832/0.1387, allocations: 294.5 kB / 364.1 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.1406, allocations: 1.19 MB / 365.3 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008285/0.1414, allocations: 314.7 kB / 365.6 MB, free: 6.164 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.1414, allocations: 352 / 365.6 MB, free: 6.164 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.1415, allocations: 38.52 kB / 365.7 MB, free: 6.117 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 9.51e-07/0.1415, allocations: 7.938 kB / 365.7 MB, free: 6.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.002552/0.144, allocations: 0.8865 MB / 366.6 MB, free: 5.176 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.1441, allocations: 59.36 kB / 366.6 MB, free: 5.105 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.1444, allocations: 274.5 kB / 366.9 MB, free: 4.828 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.1444, allocations: 33.64 kB / 366.9 MB, free: 4.789 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.1446, allocations: 207.8 kB / 367.1 MB, free: 4.582 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.043e-05/0.1446, allocations: 71.08 kB / 367.2 MB, free: 4.512 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.212e-05/0.1447, allocations: 4 kB / 367.2 MB, free: 4.508 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1448, allocations: 334.8 kB / 367.5 MB, free: 4.172 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.145, allocations: 99.94 kB / 367.6 MB, free: 4.074 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.1454, allocations: 195.8 kB / 367.8 MB, free: 3.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.1457, allocations: 127.2 kB / 367.9 MB, free: 3.719 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1457, allocations: 0 / 367.9 MB, free: 3.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00134/0.147, allocations: 0.5417 MB / 368.5 MB, free: 3.164 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005557/0.1476, allocations: 1.228 MB / 369.7 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.1476, allocations: 4 kB / 369.7 MB, free: 1.836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/0.1482, allocations: 137.6 kB / 369.8 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.1484, allocations: 67.86 kB / 369.9 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2881/0.4365, allocations: 3.355 MB / 373.3 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005686/0.4371, allocations: 47.66 kB / 373.3 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.4372, allocations: 13.31 kB / 373.3 MB, free: 17.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.4372, allocations: 4.5 kB / 373.3 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001668/0.4389, allocations: 373.9 kB / 373.7 MB, free: 17.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.4389, allocations: 4.562 kB / 373.7 MB, free: 17.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005498/0.4395, allocations: 88.81 kB / 373.8 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.4399, allocations: 59.56 kB / 373.8 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004143/0.4441, allocations: 2.972 MB / 376.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.4445, allocations: 35.94 kB / 376.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.4445, allocations: 15.38 kB / 376.9 MB, free: 14.95 MB / 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.0002999/0.4449, allocations: 226.5 kB / 377.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.153e-05/0.445, allocations: 23.88 kB / 377.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.928e-05/0.4451, allocations: 29.44 kB / 377.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4451, allocations: 2 kB / 377.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4451, allocations: 4.594 kB / 377.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4451, allocations: 1.125 kB / 377.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006221/0.4457, allocations: 328.7 kB / 377.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.4458, allocations: 1.328 kB / 377.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.446, allocations: 29.59 kB / 377.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008515/0.4469, allocations: 142.2 kB / 377.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.4469, allocations: 4.438 kB / 377.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006341/0.4533, allocations: 3.225 MB / 380.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4533, allocations: 5.203 kB / 380.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.4557, allocations: 0.6402 MB / 381.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.4558, allocations: 101.6 kB / 381.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.927e-05/0.4559, allocations: 10.06 kB / 381.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/0.4563, allocations: 32.42 kB / 381.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.4564, allocations: 25.81 kB / 381.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.4564, allocations: 3.938 kB / 381.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002945/0.4567, allocations: 189.8 kB / 381.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4567, allocations: 0 / 381.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001316/0.4581, allocations: 156.9 kB / 382 MB, free: 11.57 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.000175/0.4583, allocations: 106.2 kB / 382.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002176/0.4605, allocations: 0.8449 MB / 383 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.4605, allocations: 5.5 kB / 383 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007079/0.4612, allocations: 347.1 kB / 383.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.4618, allocations: 50.73 kB / 383.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.4637, allocations: 0.7066 MB / 384.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.4641, allocations: 0.7734 MB / 384.8 MB, free: 9.574 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002651/0.4643, allocations: 28.92 kB / 384.9 MB, free: 9.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.243e-05/0.4644, allocations: 24.25 kB / 384.9 MB, free: 9.559 MB / 302.1 MB Notification: Performance of SimCode: time 2.545e-06/0.4645, allocations: 0 / 384.9 MB, free: 9.559 MB / 302.1 MB Notification: Performance of Templates: time 0.01641/0.4809, allocations: 4.16 MB / 389.1 MB, free: 9.199 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_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