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.0009865/0.0009867, allocations: 97.02 kB / 17.3 MB, free: 6.344 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.0009758/0.0009763, allocations: 179 kB / 18.21 MB, free: 5.531 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.912/1.912, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0005441/0.0005441, allocations: 12 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1357, allocations: 47.58 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003502/0.1393, allocations: 2.596 MB / 331.6 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.1406, allocations: 0.7645 MB / 332.3 MB, free: 380 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.1408, allocations: 7.938 kB / 332.3 MB, free: 372 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.141, allocations: 47.69 kB / 332.4 MB, free: 324 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.1413, allocations: 91.28 kB / 332.5 MB, free: 232 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.1416, allocations: 103.9 kB / 332.6 MB, free: 128 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004687/0.1421, allocations: 390.1 kB / 333 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002716/0.1424, allocations: 107.6 kB / 333.1 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.1425, allocations: 135.4 kB / 333.2 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.1427, allocations: 143.3 kB / 333.3 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.1428, allocations: 16 kB / 333.4 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.772e-05/0.1429, allocations: 20 kB / 333.4 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.069e-05/0.1429, allocations: 59.7 kB / 333.4 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.1431, allocations: 184.8 kB / 333.6 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003591/0.1435, allocations: 354.8 kB / 334 MB, free: 14.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.1435, allocations: 4 kB / 334 MB, free: 14.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1435, allocations: 0 / 334 MB, free: 14.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1435, allocations: 0 / 334 MB, free: 14.73 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.001032/0.1445, allocations: 0.581 MB / 334.5 MB, free: 14.1 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.1446, allocations: 12.03 kB / 334.6 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.392e-05/0.1447, allocations: 36.47 kB / 334.6 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.1451, allocations: 283.5 kB / 334.9 MB, free: 13.74 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.1451, allocations: 29.03 kB / 334.9 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.333e-05/0.1452, allocations: 32.36 kB / 334.9 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006486/0.1459, allocations: 314.4 kB / 335.2 MB, free: 13.37 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1459, allocations: 3.938 kB / 335.2 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.1459, allocations: 12 kB / 335.2 MB, free: 13.35 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.1459, allocations: 7.938 kB / 335.3 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007318/0.1467, allocations: 310.5 kB / 335.6 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.1485, allocations: 1.115 MB / 336.7 MB, free: 11.84 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008548/0.1494, allocations: 322.7 kB / 337 MB, free: 11.52 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004338/0.1499, allocations: 172.8 kB / 337.2 MB, free: 11.35 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.1499, allocations: 4 kB / 337.2 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.1499, allocations: 38.52 kB / 337.2 MB, free: 11.3 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.15, allocations: 0 / 337.2 MB, free: 11.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002788/0.1527, allocations: 0.9107 MB / 338.1 MB, free: 10.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.1528, allocations: 59.36 kB / 338.2 MB, free: 10.27 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.1532, allocations: 274.6 kB / 338.4 MB, free: 9.988 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.1532, allocations: 29.7 kB / 338.5 MB, free: 9.953 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.1534, allocations: 203.9 kB / 338.7 MB, free: 9.75 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.139e-05/0.1535, allocations: 71 kB / 338.7 MB, free: 9.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.854e-05/0.1536, allocations: 29.7 kB / 338.8 MB, free: 9.645 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002198/0.1538, allocations: 338.8 kB / 339.1 MB, free: 9.305 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.1541, allocations: 95.95 kB / 339.2 MB, free: 9.211 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.1544, allocations: 183.1 kB / 339.4 MB, free: 8.992 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006083/0.155, allocations: 290.9 kB / 339.7 MB, free: 8.668 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.155, allocations: 0 / 339.7 MB, free: 8.668 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001375/0.1564, allocations: 0.5571 MB / 340.2 MB, free: 8.098 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000155/0.1566, allocations: 183.2 kB / 340.4 MB, free: 7.875 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.1566, allocations: 4 kB / 340.4 MB, free: 7.871 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005311/0.1572, allocations: 129.6 kB / 340.5 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.1573, allocations: 51.92 kB / 340.6 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004965/0.1623, allocations: 3.458 MB / 344 MB, free: 3.961 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.1626, allocations: 47.61 kB / 344.1 MB, free: 3.914 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.1626, allocations: 8 kB / 344.1 MB, free: 3.906 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1627, allocations: 4 kB / 344.1 MB, free: 3.902 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004759/0.1632, allocations: 265.2 kB / 344.3 MB, free: 3.637 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1632, allocations: 4 kB / 344.3 MB, free: 3.633 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001316/0.1633, allocations: 53.62 kB / 344.4 MB, free: 3.574 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.1635, allocations: 64.22 kB / 344.5 MB, free: 3.512 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/0.1656, allocations: 2.688 MB / 347.2 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.1658, allocations: 27.75 kB / 347.2 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.1658, allocations: 12 kB / 347.2 MB, free: 0.5156 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.000235/0.1661, allocations: 229.1 kB / 347.4 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.1661, allocations: 23.72 kB / 347.4 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.566e-05/0.1662, allocations: 34.11 kB / 347.5 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1662, allocations: 3.938 kB / 347.5 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1662, allocations: 0 / 347.5 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.1663, allocations: 3.984 kB / 347.5 MB, free: 220 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.1678, allocations: 0.8237 MB / 348.3 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.1678, allocations: 0 / 348.3 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.1679, allocations: 27.92 kB / 348.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004203/0.1684, allocations: 141.6 kB / 348.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.1684, allocations: 7.984 kB / 348.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004553/0.173, allocations: 3.419 MB / 351.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.173, allocations: 0 / 351.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.1743, allocations: 0.6138 MB / 352.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.951e-05/0.1744, allocations: 104.7 kB / 352.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.1745, allocations: 8 kB / 352.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.1747, allocations: 31.97 kB / 352.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.1748, allocations: 19.98 kB / 352.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.1748, allocations: 8 kB / 352.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002032/0.175, allocations: 190 kB / 352.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.175, allocations: 0 / 352.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007488/0.1758, allocations: 151.7 kB / 353 MB, free: 10.31 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.0001482/0.1759, allocations: 99.25 kB / 353.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.1775, allocations: 0.9044 MB / 354 MB, free: 9.242 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/0.1775, allocations: 1.375 kB / 354 MB, free: 9.242 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000799/0.1783, allocations: 438.2 kB / 354.4 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/0.1788, allocations: 52.33 kB / 354.5 MB, free: 8.738 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.1802, allocations: 0.7509 MB / 355.2 MB, free: 7.965 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.1806, allocations: 0.7684 MB / 356 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.00013/0.1808, allocations: 26.97 kB / 356 MB, free: 7.145 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.1808, allocations: 19.44 kB / 356.1 MB, free: 7.125 MB / 302.1 MB Notification: Performance of SimCode: time 4.779e-06/0.1808, allocations: 0 / 356.1 MB, free: 7.125 MB / 302.1 MB Notification: Performance of Templates: time 0.009383/0.1902, allocations: 4.203 MB / 360.3 MB, free: 2.926 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