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.0009899/0.00099, allocations: 86.59 kB / 16.65 MB, free: 6.535 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.001195/0.001195, allocations: 176.3 kB / 17.56 MB, free: 6.18 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.553/1.553, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003025, allocations: 12.72 kB / 301.4 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1376, allocations: 50.41 MB / 351.9 MB, free: 3.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003632/0.1413, allocations: 2.611 MB / 354.5 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.1426, allocations: 0.713 MB / 355.2 MB, free: 104 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.1428, allocations: 11.94 kB / 355.2 MB, free: 92 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.143, allocations: 47.67 kB / 355.2 MB, free: 44 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.1432, allocations: 87.3 kB / 355.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.1436, allocations: 103.9 kB / 355.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004238/0.144, allocations: 386.3 kB / 355.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000265/0.1443, allocations: 111.6 kB / 355.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.1444, allocations: 131.4 kB / 356 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.1446, allocations: 147.2 kB / 356.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/0.1447, allocations: 16 kB / 356.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.495e-05/0.1448, allocations: 20 kB / 356.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.186e-05/0.1448, allocations: 59.75 kB / 356.3 MB, free: 15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.145, allocations: 180.8 kB / 356.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.1454, allocations: 346.9 kB / 356.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1454, allocations: 0 / 356.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1454, allocations: 0 / 356.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1454, allocations: 0 / 356.8 MB, free: 14.47 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.00118/0.1466, allocations: 0.5926 MB / 357.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.1467, allocations: 8.031 kB / 357.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.1468, allocations: 40.55 kB / 357.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004161/0.1472, allocations: 283.5 kB / 357.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.1473, allocations: 25.03 kB / 357.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.1473, allocations: 28.38 kB / 357.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007062/0.148, allocations: 353.3 kB / 358.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.1481, allocations: 0 / 358.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.1481, allocations: 16 kB / 358.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.1481, allocations: 12 kB / 358.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006936/0.1488, allocations: 290.5 kB / 358.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.1509, allocations: 1.197 MB / 359.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000927/0.1518, allocations: 314.7 kB / 359.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004879/0.1523, allocations: 176.8 kB / 360.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.1524, allocations: 0 / 360.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.101e-05/0.1524, allocations: 42.5 kB / 360.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.1524, allocations: 0 / 360.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.002864/0.1553, allocations: 0.9173 MB / 361 MB, free: 9.965 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.1553, allocations: 59.34 kB / 361.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.1557, allocations: 270.6 kB / 361.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.1557, allocations: 29.7 kB / 361.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.1559, allocations: 207.8 kB / 361.6 MB, free: 9.379 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/0.156, allocations: 71 kB / 361.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.156, allocations: 29.7 kB / 361.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1562, allocations: 334.8 kB / 362 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.1565, allocations: 99.94 kB / 362.1 MB, free: 8.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.1568, allocations: 199.9 kB / 362.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006019/0.1574, allocations: 311.6 kB / 362.6 MB, free: 8.254 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1574, allocations: 0 / 362.6 MB, free: 8.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001502/0.1589, allocations: 0.5516 MB / 363.2 MB, free: 7.691 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001601/0.1591, allocations: 184.2 kB / 363.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.1591, allocations: 4 kB / 363.4 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000656/0.1598, allocations: 153.5 kB / 363.5 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.16, allocations: 59.91 kB / 363.6 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005364/0.1654, allocations: 3.474 MB / 367 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/0.1657, allocations: 47.67 kB / 367.1 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.1658, allocations: 8 kB / 367.1 MB, free: 3.453 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.1658, allocations: 4 kB / 367.1 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009417/0.1667, allocations: 377.4 kB / 367.5 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.1668, allocations: 4 kB / 367.5 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002924/0.1671, allocations: 85.66 kB / 367.6 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.1673, allocations: 63.97 kB / 367.6 MB, free: 2.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.278/0.4453, allocations: 2.82 MB / 370.4 MB, free: 23.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.4458, allocations: 37.86 kB / 370.5 MB, free: 23.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.4459, allocations: 12.91 kB / 370.5 MB, free: 23.03 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003154/0.4462, allocations: 225 kB / 370.7 MB, free: 22.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.713e-05/0.4463, allocations: 24.17 kB / 370.7 MB, free: 22.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.461e-05/0.4464, allocations: 34.72 kB / 370.8 MB, free: 22.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.4464, allocations: 3.875 kB / 370.8 MB, free: 22.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4464, allocations: 1.281 kB / 370.8 MB, free: 22.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4464, allocations: 0.7969 kB / 370.8 MB, free: 22.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/0.4487, allocations: 0.848 MB / 371.6 MB, free: 22.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.4487, allocations: 0 / 371.6 MB, free: 22.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.4489, allocations: 28.48 kB / 371.6 MB, free: 22.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005637/0.4495, allocations: 150.3 kB / 371.8 MB, free: 22.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.4495, allocations: 4.594 kB / 371.8 MB, free: 22.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004341/0.4539, allocations: 3.236 MB / 375 MB, free: 20.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.4539, allocations: 5.188 kB / 375 MB, free: 20.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.4558, allocations: 0.6468 MB / 375.7 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.456, allocations: 99.92 kB / 375.8 MB, free: 19.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.456, allocations: 6.422 kB / 375.8 MB, free: 19.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.4563, allocations: 34.48 kB / 375.8 MB, free: 19.76 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.4564, allocations: 16.89 kB / 375.8 MB, free: 19.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.4565, allocations: 6.25 kB / 375.8 MB, free: 19.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003354/0.4568, allocations: 192.8 kB / 376 MB, free: 19.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.52e-07/0.4568, allocations: 0 / 376 MB, free: 19.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001078/0.4579, allocations: 164.2 kB / 376.2 MB, free: 19.67 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000234/0.4581, allocations: 110.7 kB / 376.3 MB, free: 19.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002503/0.4607, allocations: 0.9237 MB / 377.2 MB, free: 19.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.4607, allocations: 5.094 kB / 377.2 MB, free: 19.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006572/0.4613, allocations: 348.1 kB / 377.6 MB, free: 18.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006677/0.462, allocations: 52.55 kB / 377.6 MB, free: 18.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.4639, allocations: 0.7557 MB / 378.4 MB, free: 18.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.4644, allocations: 0.7743 MB / 379.2 MB, free: 17.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.4646, allocations: 29.38 kB / 379.2 MB, free: 17.78 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.4646, allocations: 20.53 kB / 379.2 MB, free: 17.77 MB / 302.1 MB Notification: Performance of SimCode: time 1.893e-06/0.4647, allocations: 0 / 379.2 MB, free: 17.77 MB / 302.1 MB Notification: Performance of Templates: time 0.01609/0.4807, allocations: 4.405 MB / 383.6 MB, free: 17.5 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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