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.001162/0.001167, allocations: 111.9 kB / 17.28 MB, free: 6.219 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.001164/0.001164, allocations: 193.3 kB / 18.2 MB, free: 5.301 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.918/1.918, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001611/0.001611, allocations: 43.94 kB / 280.2 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1603, allocations: 46.62 MB / 326.8 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.005965/0.1663, allocations: 2.973 MB / 329.8 MB, free: 1.805 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.1684, allocations: 0.7761 MB / 330.5 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.1687, allocations: 11.94 kB / 330.5 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.1689, allocations: 35.69 kB / 330.6 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.1692, allocations: 91.3 kB / 330.7 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.1695, allocations: 107.9 kB / 330.8 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005157/0.17, allocations: 410.1 kB / 331.2 MB, free: 384 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.1703, allocations: 123.4 kB / 331.3 MB, free: 264 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.1705, allocations: 151.4 kB / 331.4 MB, free: 112 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.1708, allocations: 171.4 kB / 331.6 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.223e-05/0.1708, allocations: 32 kB / 331.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.075e-05/0.1709, allocations: 39.94 kB / 331.7 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.707e-05/0.171, allocations: 79.69 kB / 331.8 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.1712, allocations: 175.1 kB / 331.9 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005467/0.1718, allocations: 370.8 kB / 332.3 MB, free: 15.26 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.1718, allocations: 0 / 332.3 MB, free: 15.26 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1718, allocations: 0 / 332.3 MB, free: 15.26 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.1718, allocations: 4 kB / 332.3 MB, free: 15.25 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.00116/0.173, allocations: 0.6355 MB / 332.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1731, allocations: 11.89 kB / 332.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.591e-05/0.1731, allocations: 40.56 kB / 333 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.1735, allocations: 283.5 kB / 333.3 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.1736, allocations: 21.03 kB / 333.3 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/0.1736, allocations: 32.38 kB / 333.3 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006115/0.1743, allocations: 306.4 kB / 333.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1743, allocations: 3.938 kB / 333.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.1743, allocations: 12 kB / 333.6 MB, free: 13.83 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1743, allocations: 12 kB / 333.6 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009366/0.1753, allocations: 290.5 kB / 333.9 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.1774, allocations: 1.096 MB / 335 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008019/0.1782, allocations: 286.8 kB / 335.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/0.1787, allocations: 176.7 kB / 335.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.1788, allocations: 7.984 kB / 335.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.1788, allocations: 42.52 kB / 335.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.1788, allocations: 0 / 335.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002592/0.1814, allocations: 0.8168 MB / 336.3 MB, free: 10.97 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.1815, allocations: 59.36 kB / 336.4 MB, free: 10.9 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.1818, allocations: 274.6 kB / 336.7 MB, free: 10.62 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.1818, allocations: 25.7 kB / 336.7 MB, free: 10.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.182, allocations: 203.8 kB / 336.9 MB, free: 10.39 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.537e-05/0.1821, allocations: 71 kB / 337 MB, free: 10.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.87e-05/0.1822, allocations: 53.7 kB / 337 MB, free: 10.26 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.1824, allocations: 334.8 kB / 337.3 MB, free: 9.922 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.1827, allocations: 100.8 kB / 337.4 MB, free: 9.82 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.183, allocations: 183 kB / 337.6 MB, free: 9.602 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005365/0.1836, allocations: 282.9 kB / 337.9 MB, free: 9.285 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1836, allocations: 0 / 337.9 MB, free: 9.285 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001422/0.185, allocations: 0.5063 MB / 338.4 MB, free: 8.766 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.185, allocations: 4 kB / 338.4 MB, free: 8.762 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.1851, allocations: 8.062 kB / 338.4 MB, free: 8.754 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005481/0.1856, allocations: 129.5 kB / 338.5 MB, free: 8.621 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.1858, allocations: 55.86 kB / 338.6 MB, free: 8.566 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005743/0.1916, allocations: 3.658 MB / 342.2 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.192, allocations: 47.52 kB / 342.3 MB, free: 4.578 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.1921, allocations: 12 kB / 342.3 MB, free: 4.566 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003347/0.1924, allocations: 168.1 kB / 342.5 MB, free: 4.398 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003877/0.1928, allocations: 151.6 kB / 342.6 MB, free: 4.211 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003894/0.1932, allocations: 234.8 kB / 342.8 MB, free: 3.941 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.1932, allocations: 0 / 342.8 MB, free: 3.941 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0006882/0.1939, allocations: 310.9 kB / 343.2 MB, free: 3.625 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.194, allocations: 4 kB / 343.2 MB, free: 3.621 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.194, allocations: 4 kB / 343.2 MB, free: 3.617 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/0.1941, allocations: 49.69 kB / 343.2 MB, free: 3.562 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.1943, allocations: 55.91 kB / 343.3 MB, free: 3.508 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002911/0.1973, allocations: 2.97 MB / 346.2 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.1976, allocations: 23.84 kB / 346.3 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.1976, allocations: 12 kB / 346.3 MB, free: 228 kB / 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.0002257/0.1978, allocations: 196.1 kB / 346.5 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.1979, allocations: 31.86 kB / 346.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.528e-05/0.198, allocations: 34.17 kB / 346.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1981, allocations: 0 / 346.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1981, allocations: 4.062 kB / 346.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1981, allocations: 3.984 kB / 346.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.1998, allocations: 0.7808 MB / 347.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1999, allocations: 4 kB / 347.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.2, allocations: 27.92 kB / 347.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004338/0.2004, allocations: 125.6 kB / 347.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.2005, allocations: 0 / 347.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005141/0.2056, allocations: 3.627 MB / 351.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2057, allocations: 0 / 351.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.2071, allocations: 0.563 MB / 351.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.2073, allocations: 104.8 kB / 351.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.2073, allocations: 4 kB / 351.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.2076, allocations: 27.97 kB / 351.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.2077, allocations: 23.91 kB / 351.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.2077, allocations: 11.94 kB / 351.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000247/0.208, allocations: 186 kB / 352 MB, free: 10.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.208, allocations: 4 kB / 352 MB, free: 10.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009567/0.209, allocations: 159.6 kB / 352.2 MB, free: 9.922 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.000231/0.2092, allocations: 103.2 kB / 352.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.2114, allocations: 0.8824 MB / 353.2 MB, free: 8.879 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.2115, allocations: 4 kB / 353.2 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000809/0.2123, allocations: 426.4 kB / 353.6 MB, free: 8.434 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/0.2129, allocations: 51.95 kB / 353.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.2145, allocations: 0.7125 MB / 354.3 MB, free: 7.648 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.2149, allocations: 0.7722 MB / 355.1 MB, free: 6.852 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.2151, allocations: 30.95 kB / 355.1 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.56e-05/0.2152, allocations: 19.44 kB / 355.2 MB, free: 6.805 MB / 302.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2152, allocations: 0 / 355.2 MB, free: 6.805 MB / 302.1 MB Notification: Performance of Templates: time 0.01169/0.2269, allocations: 4.525 MB / 359.7 MB, free: 2.277 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