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.001534/0.001535, allocations: 104.2 kB / 17.58 MB, free: 5.559 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.001419/0.001419, allocations: 192 kB / 18.51 MB, free: 4.641 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.673/1.673, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.00133/0.001331, allocations: 59.92 kB / 280.7 MB, free: 3.152 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1191, allocations: 46.63 MB / 327.3 MB, free: 4.453 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.005535/0.1247, allocations: 2.92 MB / 330.2 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1268, allocations: 0.7799 MB / 331 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005601/0.1274, allocations: 11.88 kB / 331 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004213/0.1279, allocations: 55.5 kB / 331.1 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006346/0.1285, allocations: 103.1 kB / 331.2 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006387/0.1292, allocations: 123.8 kB / 331.3 MB, free: 440 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008795/0.1301, allocations: 414.1 kB / 331.7 MB, free: 24 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004537/0.1305, allocations: 131.4 kB / 331.8 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004484/0.131, allocations: 151.4 kB / 332 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003937/0.1314, allocations: 163.3 kB / 332.1 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.1315, allocations: 36 kB / 332.2 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.1317, allocations: 32 kB / 332.2 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1318, allocations: 79.69 kB / 332.3 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.1321, allocations: 171.1 kB / 332.4 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005129/0.1326, allocations: 374.9 kB / 332.8 MB, free: 14.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1326, allocations: 0 / 332.8 MB, free: 14.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1326, allocations: 0 / 332.8 MB, free: 14.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.1326, allocations: 0 / 332.8 MB, free: 14.91 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.001346/0.134, allocations: 0.6433 MB / 333.4 MB, free: 14.21 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.134, allocations: 15.89 kB / 333.5 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.866e-05/0.1342, allocations: 32.56 kB / 333.5 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.1346, allocations: 283.6 kB / 333.8 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.1346, allocations: 21.03 kB / 333.8 MB, free: 13.83 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/0.1347, allocations: 32.38 kB / 333.8 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/0.1354, allocations: 310.3 kB / 334.1 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1354, allocations: 0 / 334.1 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.1354, allocations: 16 kB / 334.1 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.1354, allocations: 4 kB / 334.1 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007115/0.1362, allocations: 290.4 kB / 334.4 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.1382, allocations: 1.092 MB / 335.5 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008197/0.1391, allocations: 290.8 kB / 335.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/0.1395, allocations: 176.7 kB / 336 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.1396, allocations: 7.922 kB / 336 MB, free: 11.54 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1396, allocations: 42.52 kB / 336 MB, free: 11.49 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.1396, allocations: 0 / 336 MB, free: 11.49 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002434/0.142, allocations: 0.8169 MB / 336.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.1421, allocations: 55.36 kB / 336.9 MB, free: 10.56 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.1425, allocations: 266.7 kB / 337.2 MB, free: 10.29 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.1425, allocations: 29.7 kB / 337.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.1427, allocations: 203.8 kB / 337.4 MB, free: 10.05 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.6e-05/0.1428, allocations: 67.02 kB / 337.5 MB, free: 9.984 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.1429, allocations: 61.64 kB / 337.5 MB, free: 9.918 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.1431, allocations: 334.8 kB / 337.8 MB, free: 9.582 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.1434, allocations: 100.7 kB / 337.9 MB, free: 9.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.1437, allocations: 179 kB / 338.1 MB, free: 9.266 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006034/0.1444, allocations: 286.9 kB / 338.4 MB, free: 8.945 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.1444, allocations: 4 kB / 338.4 MB, free: 8.941 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001457/0.1458, allocations: 0.5026 MB / 338.9 MB, free: 8.426 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.1459, allocations: 8 kB / 338.9 MB, free: 8.418 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.1459, allocations: 0 / 338.9 MB, free: 8.418 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006101/0.1465, allocations: 125.7 kB / 339 MB, free: 8.289 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.1467, allocations: 59.84 kB / 339.1 MB, free: 8.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005269/0.152, allocations: 3.654 MB / 342.7 MB, free: 4.293 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.1523, allocations: 51.58 kB / 342.8 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.1524, allocations: 15.98 kB / 342.8 MB, free: 4.227 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002347/0.1526, allocations: 164.1 kB / 343 MB, free: 4.062 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001828/0.1528, allocations: 147.6 kB / 343.1 MB, free: 3.879 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003053/0.1531, allocations: 234.8 kB / 343.3 MB, free: 3.609 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.386e-06/0.1531, allocations: 0 / 343.3 MB, free: 3.609 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.00056/0.1537, allocations: 318.6 kB / 343.7 MB, free: 3.285 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1537, allocations: 4 kB / 343.7 MB, free: 3.281 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1537, allocations: 4 kB / 343.7 MB, free: 3.277 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001594/0.1539, allocations: 50 kB / 343.7 MB, free: 3.223 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.1541, allocations: 63.91 kB / 343.8 MB, free: 3.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.1565, allocations: 2.963 MB / 346.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.1567, allocations: 19.83 kB / 346.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.1567, allocations: 16 kB / 346.8 MB, free: 15.88 MB / 302.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.0001606/0.1569, allocations: 196.1 kB / 347 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.1569, allocations: 31.66 kB / 347 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.711e-05/0.157, allocations: 34.23 kB / 347 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.157, allocations: 4 kB / 347 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.157, allocations: 0 / 347 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.157, allocations: 0 / 347 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.1585, allocations: 0.7891 MB / 347.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1585, allocations: 0 / 347.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.1586, allocations: 23.98 kB / 347.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003954/0.159, allocations: 133.5 kB / 348 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.1591, allocations: 4 kB / 348 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004633/0.1637, allocations: 3.615 MB / 351.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1637, allocations: 4.062 kB / 351.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.165, allocations: 0.5747 MB / 352.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.1651, allocations: 104.8 kB / 352.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.1652, allocations: 4 kB / 352.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.1654, allocations: 27.92 kB / 352.3 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-05/0.1655, allocations: 23.91 kB / 352.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.1655, allocations: 8.062 kB / 352.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002149/0.1657, allocations: 190 kB / 352.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1657, allocations: 0 / 352.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008497/0.1666, allocations: 163.6 kB / 352.7 MB, free: 9.578 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.0001721/0.1668, allocations: 103.2 kB / 352.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.1687, allocations: 0.8829 MB / 353.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.1688, allocations: 0 / 353.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008534/0.1696, allocations: 429.2 kB / 354.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.1701, allocations: 44 kB / 354.1 MB, free: 8.051 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.1714, allocations: 0.5989 MB / 354.7 MB, free: 7.426 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.1718, allocations: 0.7722 MB / 355.5 MB, free: 6.629 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001404/0.172, allocations: 30.97 kB / 355.5 MB, free: 6.602 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.1721, allocations: 27.38 kB / 355.6 MB, free: 6.574 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1721, allocations: 4 kB / 355.6 MB, free: 6.57 MB / 302.1 MB Notification: Performance of Templates: time 0.01109/0.1832, allocations: 4.639 MB / 360.2 MB, free: 1.93 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches