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.001384/0.001384, allocations: 109.3 kB / 17.74 MB, free: 5.359 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.001567/0.001567, allocations: 180.1 kB / 18.66 MB, free: 4.449 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.401/1.401, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 51.91 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2336, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.00393/0.2375, allocations: 3.079 MB / 404.5 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.2388, allocations: 0.7637 MB / 405.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.239, allocations: 4 kB / 405.3 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.2392, allocations: 59.44 kB / 405.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.2394, allocations: 111 kB / 405.4 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.2397, allocations: 127.8 kB / 405.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004105/0.2401, allocations: 466.3 kB / 406 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.2403, allocations: 130.9 kB / 406.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.2406, allocations: 179.3 kB / 406.3 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.2408, allocations: 195.2 kB / 406.5 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.902e-05/0.2409, allocations: 44 kB / 406.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.265e-05/0.2409, allocations: 44 kB / 406.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.492e-05/0.241, allocations: 83.69 kB / 406.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.2412, allocations: 199 kB / 406.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004106/0.2416, allocations: 495.5 kB / 407.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.2416, allocations: 8 kB / 407.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2416, allocations: 0 / 407.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.2416, 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.00128/0.2429, allocations: 0.711 MB / 408.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.2429, allocations: 11.89 kB / 408.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.732e-05/0.243, allocations: 40.47 kB / 408.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.2434, allocations: 314.6 kB / 408.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.2434, allocations: 24.92 kB / 408.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.922e-05/0.2435, allocations: 32.36 kB / 408.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007097/0.2442, allocations: 347.6 kB / 408.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.2442, allocations: 0 / 408.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.2443, allocations: 16 kB / 408.9 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.2443, allocations: 11.94 kB / 408.9 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008035/0.2451, allocations: 306 kB / 409.2 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.2472, allocations: 1.26 MB / 410.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007958/0.248, allocations: 335.5 kB / 410.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/0.2484, allocations: 140.8 kB / 410.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.2484, allocations: 0 / 410.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004644/0.2489, allocations: 200.5 kB / 411.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.2489, allocations: 4 kB / 411.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.002105/0.251, allocations: 0.642 MB / 411.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.2511, allocations: 118.7 kB / 411.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.2514, allocations: 291.2 kB / 412.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.2514, allocations: 25.7 kB / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.2516, allocations: 215.9 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.2516, allocations: 55.25 kB / 412.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-05/0.2517, allocations: 57.61 kB / 412.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2519, allocations: 334.8 kB / 412.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.2522, allocations: 120.2 kB / 412.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/0.2527, allocations: 217.3 kB / 413.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007358/0.2534, allocations: 343.2 kB / 413.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2534, allocations: 0 / 413.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001266/0.2547, allocations: 487.7 kB / 413.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.2547, allocations: 29.7 kB / 414 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/0.2548, allocations: 4 kB / 414 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002997/0.2551, allocations: 68.88 kB / 414 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.2553, allocations: 63.89 kB / 414.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/0.2575, allocations: 1.648 MB / 415.8 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.2579, allocations: 55.91 kB / 415.8 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.2579, allocations: 15.94 kB / 415.8 MB, free: 9.879 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.0001795/0.2581, allocations: 154.2 kB / 416 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.2581, allocations: 31.66 kB / 416 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.566e-05/0.2582, allocations: 22.22 kB / 416 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2582, allocations: 7.984 kB / 416 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.2582, allocations: 4 kB / 416 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2582, allocations: 0 / 416 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.2598, allocations: 0.7919 MB / 416.8 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2598, allocations: 0 / 416.8 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.2601, allocations: 51.98 kB / 416.9 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002191/0.2603, allocations: 60.75 kB / 416.9 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.2603, allocations: 4 kB / 416.9 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.2622, allocations: 1.633 MB / 418.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2622, allocations: 0 / 418.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.2636, allocations: 0.563 MB / 419.1 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.407e-05/0.2637, allocations: 108.8 kB / 419.3 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.2638, allocations: 0 / 419.3 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/0.2641, allocations: 35.95 kB / 419.3 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.843e-05/0.2641, allocations: 24.03 kB / 419.3 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.2642, allocations: 4 kB / 419.3 MB, free: 6.137 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002087/0.2644, allocations: 217.9 kB / 419.5 MB, free: 5.926 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2644, allocations: 0 / 419.5 MB, free: 5.926 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003804/0.2648, allocations: 79.75 kB / 419.6 MB, free: 5.848 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.0001392/0.2649, allocations: 107.2 kB / 419.7 MB, free: 5.734 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.2659, allocations: 452.7 kB / 420.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.2659, allocations: 0.6875 kB / 420.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004552/0.2664, allocations: 246.5 kB / 420.4 MB, free: 5.016 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.2668, allocations: 55.91 kB / 420.4 MB, free: 4.961 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.2696, allocations: 0.867 MB / 421.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.27, allocations: 0.7639 MB / 422.1 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.431e-05/0.2701, allocations: 31.38 kB / 422.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2701, allocations: 0 / 422.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of Templates: time 0.007359/0.2775, allocations: 5.286 MB / 427.4 MB, free: 13.96 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