Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 113.3 kB / 17.28 MB, free: 6.047 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.001061/0.001061, allocations: 193.3 kB / 18.19 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.1 MB / 224.1 MB, free: 12.48 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.002164/0.002165, allocations: 43.94 kB / 280.2 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1605, allocations: 46.63 MB / 326.8 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.005999/0.1666, allocations: 2.76 MB / 329.5 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.1686, allocations: 0.7022 MB / 330.3 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004535/0.1691, allocations: 7.938 kB / 330.3 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.1696, allocations: 35.69 kB / 330.3 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004056/0.17, allocations: 79.39 kB / 330.4 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.1705, allocations: 83.92 kB / 330.5 MB, free: 1.105 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006186/0.1711, allocations: 346.6 kB / 330.8 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.1713, allocations: 80.7 kB / 330.9 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.1716, allocations: 131.5 kB / 331 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.1719, allocations: 151.3 kB / 331.1 MB, free: 424 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.793e-05/0.172, allocations: 28 kB / 331.2 MB, free: 396 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.575e-05/0.1721, allocations: 32 kB / 331.2 MB, free: 364 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.484e-05/0.1722, allocations: 67.7 kB / 331.3 MB, free: 296 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.1724, allocations: 151.2 kB / 331.4 MB, free: 144 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004672/0.1728, allocations: 323.2 kB / 331.7 MB, free: 15.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.1729, allocations: 0 / 331.7 MB, free: 15.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1729, allocations: 0 / 331.7 MB, free: 15.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.1729, allocations: 0 / 331.7 MB, free: 15.82 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001554/0.1744, allocations: 0.6379 MB / 332.4 MB, free: 15.12 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1745, allocations: 8.031 kB / 332.4 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.1746, allocations: 28.66 kB / 332.4 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.175, allocations: 279.3 kB / 332.7 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.1751, allocations: 16.81 kB / 332.7 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.1751, allocations: 20.38 kB / 332.7 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007138/0.1759, allocations: 255.5 kB / 333 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.1759, allocations: 4 kB / 333 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.1759, allocations: 8 kB / 333 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.176, allocations: 4 kB / 333 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007628/0.1767, allocations: 253.6 kB / 333.2 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.1784, allocations: 0.8697 MB / 334.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007356/0.1791, allocations: 230.5 kB / 334.3 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/0.1794, allocations: 96.78 kB / 334.4 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.1794, allocations: 0 / 334.4 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005659/0.18, allocations: 173.8 kB / 334.6 MB, free: 12.76 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.18, allocations: 0 / 334.6 MB, free: 12.76 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.001954/0.182, allocations: 0.593 MB / 335.2 MB, free: 12.14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.1821, allocations: 102.8 kB / 335.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.1825, allocations: 270.5 kB / 335.5 MB, free: 11.74 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.1825, allocations: 29.7 kB / 335.6 MB, free: 11.71 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.1827, allocations: 179.8 kB / 335.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.1828, allocations: 39.36 kB / 335.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.897e-05/0.1829, allocations: 57.64 kB / 335.8 MB, free: 11.43 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1831, allocations: 330.8 kB / 336.2 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.1834, allocations: 96.78 kB / 336.3 MB, free: 11 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.1837, allocations: 169.4 kB / 336.4 MB, free: 10.8 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/0.1843, allocations: 276.4 kB / 336.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1844, allocations: 0 / 336.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001091/0.1854, allocations: 427.5 kB / 337.1 MB, free: 10.06 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.1855, allocations: 37.69 kB / 337.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.1855, allocations: 4 kB / 337.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004983/0.186, allocations: 104.8 kB / 337.3 MB, free: 9.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.1863, allocations: 47.95 kB / 337.3 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/0.1889, allocations: 1.935 MB / 339.2 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.1892, allocations: 47.73 kB / 339.3 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.1893, allocations: 8 kB / 339.3 MB, free: 7.73 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003773/0.1897, allocations: 184.1 kB / 339.5 MB, free: 7.547 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003057/0.19, allocations: 157.8 kB / 339.6 MB, free: 7.359 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005158/0.1905, allocations: 249.2 kB / 339.9 MB, free: 7.082 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.896e-06/0.1905, allocations: 0 / 339.9 MB, free: 7.082 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0008406/0.1914, allocations: 354.7 kB / 340.2 MB, free: 6.723 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.1914, allocations: 37.7 kB / 340.3 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1915, allocations: 0 / 340.3 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001436/0.1916, allocations: 48.81 kB / 340.3 MB, free: 6.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.1918, allocations: 43.97 kB / 340.3 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.1934, allocations: 1.717 MB / 342.1 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.1937, allocations: 43.81 kB / 342.1 MB, free: 4.691 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.1938, allocations: 15.98 kB / 342.1 MB, free: 4.676 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002399/0.194, allocations: 204.1 kB / 342.3 MB, free: 4.469 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/0.1941, allocations: 23.72 kB / 342.3 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.096e-05/0.1942, allocations: 25.83 kB / 342.4 MB, free: 4.422 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1942, allocations: 4 kB / 342.4 MB, free: 4.418 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1942, allocations: 0 / 342.4 MB, free: 4.418 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1942, allocations: 0 / 342.4 MB, free: 4.418 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.1946, allocations: 301.3 kB / 342.7 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.1946, allocations: 0 / 342.7 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.1948, allocations: 23.97 kB / 342.7 MB, free: 4.051 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000267/0.1951, allocations: 64.81 kB / 342.8 MB, free: 3.984 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.1951, allocations: 3.984 kB / 342.8 MB, free: 3.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002558/0.1977, allocations: 1.869 MB / 344.6 MB, free: 1.969 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1977, allocations: 0 / 344.6 MB, free: 1.969 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.1987, allocations: 333.6 kB / 345 MB, free: 1.621 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.1989, allocations: 100.8 kB / 345.1 MB, free: 1.504 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.573e-05/0.1989, allocations: 7.938 kB / 345.1 MB, free: 1.496 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.1992, allocations: 31.91 kB / 345.1 MB, free: 1.465 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.1993, allocations: 19.97 kB / 345.1 MB, free: 1.445 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1993, allocations: 4 kB / 345.1 MB, free: 1.441 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002368/0.1996, allocations: 190 kB / 345.3 MB, free: 1.254 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1996, allocations: 3.938 kB / 345.3 MB, free: 1.25 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008685/0.2005, allocations: 131.7 kB / 345.4 MB, free: 1.121 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002549/0.2007, allocations: 103.2 kB / 345.5 MB, free: 1.012 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001803/0.2025, allocations: 0.7349 MB / 346.3 MB, free: 232 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2026, allocations: 3.938 kB / 346.3 MB, free: 228 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004969/0.2031, allocations: 234.5 kB / 346.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.2035, allocations: 48.72 kB / 346.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.2057, allocations: 0.777 MB / 347.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.2062, allocations: 0.7521 MB / 348.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.2064, allocations: 26.28 kB / 348.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.995e-05/0.2064, allocations: 23.44 kB / 348.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of SimCode: time 1.373e-06/0.2064, allocations: 0 / 348.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of Templates: time 0.01221/0.2187, allocations: 4.118 MB / 352.2 MB, free: 10.19 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches