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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009952/0.001002, allocations: 95.59 kB / 16.93 MB, free: 5.984 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.001084/0.001084, allocations: 181.4 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.882/1.882, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004865, allocations: 16 kB / 280.8 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1329, allocations: 47.59 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003347/0.1363, allocations: 2.334 MB / 330.7 MB, free: 1.742 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.1381, allocations: 0.7766 MB / 331.5 MB, free: 0.957 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.1383, allocations: 8 kB / 331.5 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.845e-05/0.1384, allocations: 43.67 kB / 331.5 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.1388, allocations: 123.6 kB / 331.6 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.1391, allocations: 87.89 kB / 331.7 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004466/0.1396, allocations: 271.2 kB / 332 MB, free: 444 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.1399, allocations: 98.09 kB / 332.1 MB, free: 348 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.1401, allocations: 123.5 kB / 332.2 MB, free: 224 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.1403, allocations: 143.4 kB / 332.3 MB, free: 80 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.025e-05/0.1404, allocations: 20 kB / 332.3 MB, free: 60 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.16e-05/0.1404, allocations: 20 kB / 332.4 MB, free: 40 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.952e-05/0.1405, allocations: 59.83 kB / 332.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.063e-05/0.1406, allocations: 85.5 kB / 332.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.1409, allocations: 279.4 kB / 332.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1409, allocations: 0 / 332.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.141, allocations: 0 / 332.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.141, allocations: 0 / 332.8 MB, free: 15.62 MB / 286.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.001179/0.1422, allocations: 0.5847 MB / 333.4 MB, free: 14.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.358e-05/0.1422, allocations: 12.03 kB / 333.4 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.1424, allocations: 35.53 kB / 333.4 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.1428, allocations: 278.3 kB / 333.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.1428, allocations: 24.66 kB / 333.7 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.328e-05/0.1429, allocations: 28 kB / 333.7 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006381/0.1435, allocations: 306 kB / 334 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.1436, allocations: 0 / 334 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.1436, allocations: 8 kB / 334 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.1436, allocations: 8 kB / 334.1 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000669/0.1443, allocations: 314.4 kB / 334.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.1461, allocations: 1.104 MB / 335.5 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008541/0.147, allocations: 334.9 kB / 335.8 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.992e-05/0.1471, allocations: 15.94 kB / 335.8 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1471, allocations: 30.56 kB / 335.8 MB, free: 12.37 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.1471, allocations: 0 / 335.8 MB, free: 12.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002468/0.1496, allocations: 0.8722 MB / 336.7 MB, free: 11.45 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.1496, allocations: 51.41 kB / 336.8 MB, free: 11.39 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.15, allocations: 266.7 kB / 337 MB, free: 11.11 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.15, allocations: 29.7 kB / 337 MB, free: 11.08 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.1502, allocations: 207.8 kB / 337.3 MB, free: 10.87 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/0.1503, allocations: 67 kB / 337.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.1503, allocations: 4 kB / 337.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1505, allocations: 338.8 kB / 337.7 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.1507, allocations: 95.95 kB / 337.7 MB, free: 10.37 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.151, allocations: 187 kB / 337.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.1513, allocations: 115.9 kB / 338 MB, free: 10.03 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.1513, allocations: 0 / 338 MB, free: 10.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001294/0.1526, allocations: 0.5417 MB / 338.6 MB, free: 9.477 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004994/0.1531, allocations: 1.13 MB / 339.7 MB, free: 8.258 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.1531, allocations: 4 kB / 339.7 MB, free: 8.254 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005527/0.1537, allocations: 137.6 kB / 339.9 MB, free: 8.113 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.1539, allocations: 59.91 kB / 339.9 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004771/0.1587, allocations: 3.337 MB / 343.2 MB, free: 4.449 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000434/0.1591, allocations: 47.58 kB / 343.3 MB, free: 4.402 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.1592, allocations: 12 kB / 343.3 MB, free: 4.391 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1592, allocations: 8.062 kB / 343.3 MB, free: 4.383 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000536/0.1598, allocations: 261 kB / 343.6 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1598, allocations: 4 kB / 343.6 MB, free: 4.117 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/0.1599, allocations: 54.06 kB / 343.6 MB, free: 4.059 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.1601, allocations: 55.92 kB / 343.7 MB, free: 4.004 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/0.1625, allocations: 2.829 MB / 346.5 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.1628, allocations: 23.75 kB / 346.5 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.1628, allocations: 12 kB / 346.5 MB, free: 0.875 MB / 286.1 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.0002428/0.163, allocations: 225 kB / 346.8 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.1631, allocations: 27.67 kB / 346.8 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.771e-05/0.1632, allocations: 30.12 kB / 346.8 MB, free: 0.582 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1632, allocations: 4 kB / 346.8 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1632, allocations: 3.984 kB / 346.8 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1632, allocations: 4.062 kB / 346.8 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/0.1636, allocations: 329.3 kB / 347.2 MB, free: 204 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1636, allocations: 0 / 347.2 MB, free: 204 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.1637, allocations: 27.94 kB / 347.2 MB, free: 176 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004135/0.1641, allocations: 133.8 kB / 347.3 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.1642, allocations: 11.94 kB / 347.3 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003795/0.168, allocations: 3.19 MB / 350.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.168, allocations: 4.062 kB / 350.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.1694, allocations: 0.6024 MB / 351.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.1696, allocations: 100.8 kB / 351.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.1696, allocations: 7.953 kB / 351.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.1698, allocations: 32.03 kB / 351.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.1699, allocations: 16.27 kB / 351.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.1699, allocations: 8 kB / 351.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001923/0.1701, allocations: 194 kB / 351.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1701, allocations: 0 / 351.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007897/0.1709, allocations: 155.6 kB / 351.6 MB, free: 11.43 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001606/0.1711, allocations: 103.2 kB / 351.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.1723, allocations: 0.8194 MB / 352.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.1724, allocations: 448 / 352.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004397/0.1728, allocations: 361.2 kB / 352.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.1732, allocations: 44.39 kB / 352.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.1745, allocations: 0.7118 MB / 353.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.1749, allocations: 0.7762 MB / 354.4 MB, free: 8.484 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.1751, allocations: 30.95 kB / 354.5 MB, free: 8.453 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/0.1751, allocations: 19.44 kB / 354.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1751, allocations: 4 kB / 354.5 MB, free: 8.43 MB / 302.1 MB Notification: Performance of Templates: time 0.007938/0.1831, allocations: 4.018 MB / 358.5 MB, free: 4.418 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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.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