Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 103.3 kB / 17.73 MB, free: 5.324 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.001713/0.001713, allocations: 192.1 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 51.92 kB / 352 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.224, allocations: 49.43 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003809/0.2279, allocations: 3.084 MB / 404.5 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.229, allocations: 0.7598 MB / 405.3 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.2292, allocations: 8 kB / 405.3 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.2293, allocations: 55.42 kB / 405.3 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.2296, allocations: 111 kB / 405.5 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.2299, allocations: 131.8 kB / 405.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004175/0.2303, allocations: 462.2 kB / 406 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.2305, allocations: 138.9 kB / 406.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.2308, allocations: 179.3 kB / 406.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.231, allocations: 187.2 kB / 406.5 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.941e-05/0.231, allocations: 44 kB / 406.6 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.081e-05/0.2311, allocations: 44 kB / 406.6 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.342e-05/0.2312, allocations: 91.62 kB / 406.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.2314, allocations: 199.1 kB / 406.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.2318, allocations: 499.4 kB / 407.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2318, allocations: 0 / 407.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2318, allocations: 0 / 407.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.2318, allocations: 0 / 407.4 MB, free: 2.902 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001239/0.2331, allocations: 0.7032 MB / 408.1 MB, free: 2.145 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.2331, allocations: 15.83 kB / 408.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.583e-05/0.2332, allocations: 40.47 kB / 408.1 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.2336, allocations: 322.5 kB / 408.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.2336, allocations: 24.94 kB / 408.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.2337, allocations: 28.38 kB / 408.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007355/0.2344, allocations: 347.6 kB / 408.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2344, allocations: 0 / 408.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.2345, allocations: 15.98 kB / 408.9 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.2345, allocations: 8 kB / 408.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000802/0.2353, allocations: 302 kB / 409.2 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.2373, allocations: 1.264 MB / 410.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007945/0.2381, allocations: 335.5 kB / 410.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004036/0.2385, allocations: 140.8 kB / 410.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.2386, allocations: 8 kB / 410.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004529/0.239, allocations: 201 kB / 411.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.239, allocations: 0 / 411.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.002028/0.2411, allocations: 0.6394 MB / 411.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/0.2411, allocations: 114.7 kB / 411.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.2414, allocations: 291.2 kB / 412.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.2415, allocations: 29.7 kB / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.2416, allocations: 211.9 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.2417, allocations: 55.25 kB / 412.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-05/0.2418, allocations: 57.61 kB / 412.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.2419, allocations: 338.8 kB / 412.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/0.2423, allocations: 116.2 kB / 412.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000404/0.2427, allocations: 213.3 kB / 413.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007153/0.2434, allocations: 337.3 kB / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2434, allocations: 4 kB / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001203/0.2446, allocations: 486.1 kB / 413.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.2447, allocations: 37.7 kB / 414 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2447, allocations: 0 / 414 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003026/0.245, allocations: 68.88 kB / 414 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.2453, allocations: 63.89 kB / 414.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.2475, allocations: 1.652 MB / 415.8 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.2479, allocations: 51.72 kB / 415.8 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.2479, allocations: 15.92 kB / 415.8 MB, free: 9.883 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 29 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001739/0.2481, allocations: 158.2 kB / 416 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.2482, allocations: 31.66 kB / 416 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.2482, allocations: 26.2 kB / 416 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.2482, allocations: 4 kB / 416 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2482, allocations: 0 / 416 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2483, allocations: 0 / 416 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.2498, allocations: 0.7964 MB / 416.8 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.2498, allocations: 0 / 416.8 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.2501, allocations: 43.95 kB / 416.9 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002218/0.2503, allocations: 64.75 kB / 416.9 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.2504, allocations: 8.031 kB / 417 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.2523, allocations: 1.621 MB / 418.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.2523, allocations: 0 / 418.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.2538, allocations: 0.5655 MB / 419.1 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.2539, allocations: 104.8 kB / 419.2 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.2539, allocations: 7.984 kB / 419.2 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.2542, allocations: 36.03 kB / 419.3 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.992e-05/0.2543, allocations: 23.97 kB / 419.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.2543, allocations: 4 kB / 419.3 MB, free: 6.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000215/0.2546, allocations: 209.9 kB / 419.5 MB, free: 5.938 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2546, allocations: 0 / 419.5 MB, free: 5.938 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003897/0.255, allocations: 87.75 kB / 419.6 MB, free: 5.852 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * 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 (16): * Single equations (assignments): 13 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001263/0.2551, allocations: 107.2 kB / 419.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.2561, allocations: 450.2 kB / 420.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2561, allocations: 0 / 420.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004597/0.2566, allocations: 238.5 kB / 420.4 MB, free: 5.027 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.257, allocations: 72.25 kB / 420.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.2598, allocations: 0.863 MB / 421.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.2601, allocations: 0.7678 MB / 422.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.84e-05/0.2602, allocations: 27.38 kB / 422.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of SimCode: time 8.01e-07/0.2602, allocations: 0 / 422.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of Templates: time 0.007491/0.2677, allocations: 5.266 MB / 427.4 MB, free: 13.99 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches