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.00133/0.001331, allocations: 104.7 kB / 17.15 MB, free: 6.305 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.001387/0.001387, allocations: 198 kB / 18.07 MB, free: 5.41 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.919/1.919, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001744/0.001744, allocations: 51.92 kB / 280 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1596, allocations: 46.63 MB / 326.6 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.006771/0.1665, allocations: 2.966 MB / 329.6 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.1691, allocations: 0.7761 MB / 330.4 MB, free: 1.105 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003955/0.1696, allocations: 11.94 kB / 330.4 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.1699, allocations: 43.67 kB / 330.4 MB, free: 1.051 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.1701, allocations: 91.31 kB / 330.5 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006103/0.1708, allocations: 99.89 kB / 330.6 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006133/0.1714, allocations: 398.1 kB / 331 MB, free: 484 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003632/0.1718, allocations: 115.6 kB / 331.1 MB, free: 368 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.172, allocations: 135.4 kB / 331.2 MB, free: 232 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.1723, allocations: 155.3 kB / 331.4 MB, free: 76 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.1724, allocations: 24 kB / 331.4 MB, free: 52 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.1725, allocations: 24 kB / 331.4 MB, free: 28 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.1727, allocations: 71.67 kB / 331.5 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.1729, allocations: 167.1 kB / 331.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005957/0.1735, allocations: 358.9 kB / 332 MB, free: 15.44 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.1735, allocations: 4 kB / 332 MB, free: 15.44 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1736, allocations: 0 / 332 MB, free: 15.44 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1736, allocations: 0 / 332 MB, free: 15.44 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.001754/0.1753, allocations: 0.6394 MB / 332.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.181e-05/0.1754, allocations: 12.03 kB / 332.7 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.1756, allocations: 32.56 kB / 332.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005611/0.1761, allocations: 291.4 kB / 333 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.1762, allocations: 25.03 kB / 333 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-05/0.1763, allocations: 24.38 kB / 333 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007706/0.177, allocations: 314.4 kB / 333.3 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.1771, allocations: 7.938 kB / 333.3 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.1771, allocations: 8 kB / 333.4 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.1771, allocations: 8 kB / 333.4 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007641/0.1779, allocations: 298.5 kB / 333.7 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/0.1803, allocations: 1.084 MB / 334.7 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000989/0.1813, allocations: 298.8 kB / 335 MB, free: 12.24 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005196/0.1818, allocations: 172.8 kB / 335.2 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.085e-05/0.1819, allocations: 0 / 335.2 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.617e-05/0.1819, allocations: 42.52 kB / 335.2 MB, free: 12.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/0.182, allocations: 4 kB / 335.2 MB, free: 12.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002721/0.1847, allocations: 0.8208 MB / 336.1 MB, free: 11.14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.1848, allocations: 59.3 kB / 336.1 MB, free: 11.07 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/0.1851, allocations: 266.7 kB / 336.4 MB, free: 10.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.1852, allocations: 33.7 kB / 336.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.1854, allocations: 207.8 kB / 336.6 MB, free: 10.56 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.061e-05/0.1855, allocations: 67 kB / 336.7 MB, free: 10.49 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1856, allocations: 53.7 kB / 336.7 MB, free: 10.43 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.1858, allocations: 338.8 kB / 337.1 MB, free: 10.09 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.1861, allocations: 92.8 kB / 337.2 MB, free: 10 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.1864, allocations: 187 kB / 337.3 MB, free: 9.777 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/0.187, allocations: 274.9 kB / 337.6 MB, free: 9.469 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.187, allocations: 0 / 337.6 MB, free: 9.469 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001497/0.1885, allocations: 0.5104 MB / 338.1 MB, free: 8.945 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.1886, allocations: 4 kB / 338.1 MB, free: 8.941 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/0.1886, allocations: 4 kB / 338.1 MB, free: 8.938 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006609/0.1893, allocations: 125.6 kB / 338.2 MB, free: 8.809 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.1895, allocations: 55.84 kB / 338.3 MB, free: 8.754 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005381/0.1949, allocations: 3.345 MB / 341.6 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.1954, allocations: 47.55 kB / 341.7 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.1954, allocations: 16 kB / 341.7 MB, free: 5.078 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002915/0.1957, allocations: 160.1 kB / 341.9 MB, free: 4.918 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002321/0.196, allocations: 155.6 kB / 342 MB, free: 4.727 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000384/0.1964, allocations: 230.9 kB / 342.2 MB, free: 4.461 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.394e-06/0.1964, allocations: 7.938 kB / 342.3 MB, free: 4.453 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0006211/0.197, allocations: 310.5 kB / 342.6 MB, free: 4.137 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1971, allocations: 4 kB / 342.6 MB, free: 4.133 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1971, allocations: 4.375 kB / 342.6 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/0.1972, allocations: 57.67 kB / 342.6 MB, free: 4.066 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.1975, allocations: 59.92 kB / 342.7 MB, free: 4.008 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/0.2001, allocations: 2.701 MB / 345.4 MB, free: 1.039 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.2004, allocations: 23.75 kB / 345.4 MB, free: 1.016 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.2004, allocations: 8 kB / 345.4 MB, free: 1.008 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 (29): * Single equations (assignments): 27 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00029/0.2007, allocations: 200.1 kB / 345.6 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.571e-05/0.2008, allocations: 27.66 kB / 345.6 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.306e-05/0.2009, allocations: 30.17 kB / 345.7 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2009, allocations: 4 kB / 345.7 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2009, allocations: 64 / 345.7 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.2009, allocations: 4 kB / 345.7 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.2027, allocations: 0.7807 MB / 346.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2027, allocations: 4 kB / 346.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.2028, allocations: 27.98 kB / 346.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004998/0.2033, allocations: 133.5 kB / 346.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.2034, allocations: 0 / 346.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004858/0.2083, allocations: 3.333 MB / 349.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2083, allocations: 0 / 349.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.2098, allocations: 0.567 MB / 350.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.21, allocations: 100.9 kB / 350.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.21, allocations: 4 kB / 350.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.2103, allocations: 23.97 kB / 350.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.2105, allocations: 19.97 kB / 350.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.2105, allocations: 8 kB / 350.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002242/0.2107, allocations: 190 kB / 350.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2107, allocations: 0 / 350.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001028/0.2118, allocations: 163.5 kB / 351 MB, free: 11.02 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002221/0.212, allocations: 107.2 kB / 351.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001839/0.2139, allocations: 0.8712 MB / 352 MB, free: 9.984 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.2139, allocations: 0 / 352 MB, free: 9.984 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009916/0.2149, allocations: 422.3 kB / 352.4 MB, free: 9.547 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/0.2156, allocations: 51.61 kB / 352.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.2171, allocations: 0.7119 MB / 353.2 MB, free: 8.766 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006938/0.2178, allocations: 0.7645 MB / 353.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000163/0.218, allocations: 34.94 kB / 354 MB, free: 7.945 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.789e-05/0.2181, allocations: 19.44 kB / 354 MB, free: 7.926 MB / 302.1 MB Notification: Performance of SimCode: time 1.442e-06/0.2181, allocations: 0 / 354 MB, free: 7.926 MB / 302.1 MB Notification: Performance of Templates: time 0.0112/0.2293, allocations: 4.234 MB / 358.2 MB, free: 3.691 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (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) 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) Reference file matches