Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001357/0.001357, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 208 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.424/1.424, allocations: 227.7 MB / 247.9 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.89 kB / 359.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2244, allocations: 50.54 MB / 410.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004431/0.2288, allocations: 3.104 MB / 413.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.2304, allocations: 0.8104 MB / 414.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.2306, allocations: 4 kB / 414.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.2308, allocations: 47.5 kB / 414.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.231, allocations: 127 kB / 414.3 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.2313, allocations: 123.8 kB / 414.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005078/0.2318, allocations: 454.2 kB / 414.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000251/0.2321, allocations: 114.8 kB / 415 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003132/0.2324, allocations: 179.3 kB / 415.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.2327, allocations: 183.2 kB / 415.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.397e-05/0.2328, allocations: 47.94 kB / 415.4 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.522e-05/0.2328, allocations: 48 kB / 415.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.578e-05/0.2329, allocations: 91.67 kB / 415.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.2331, allocations: 199.1 kB / 415.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005644/0.2337, allocations: 0.4902 MB / 416.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2337, allocations: 0 / 416.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2337, allocations: 0 / 416.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.2337, allocations: 0 / 416.2 MB, free: 11.42 MB / 334.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.001419/0.2351, allocations: 0.7146 MB / 416.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2351, allocations: 15.97 kB / 417 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.294e-05/0.2352, allocations: 36.7 kB / 417 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/0.2357, allocations: 322.8 kB / 417.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.2357, allocations: 16.94 kB / 417.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.159e-05/0.2358, allocations: 28.38 kB / 417.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008228/0.2366, allocations: 351.5 kB / 417.7 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2366, allocations: 4 kB / 417.7 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.2367, allocations: 15.98 kB / 417.7 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.2367, allocations: 4 kB / 417.7 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008762/0.2376, allocations: 306.1 kB / 418 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/0.2399, allocations: 1.26 MB / 419.3 MB, free: 8.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008736/0.2408, allocations: 330.8 kB / 419.6 MB, free: 7.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000429/0.2412, allocations: 132.8 kB / 419.7 MB, free: 7.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.2412, allocations: 3.984 kB / 419.7 MB, free: 7.695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005151/0.2418, allocations: 197.8 kB / 419.9 MB, free: 7.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.2418, allocations: 4 kB / 419.9 MB, free: 7.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.002278/0.244, allocations: 0.6464 MB / 420.6 MB, free: 6.805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/0.2441, allocations: 102.8 kB / 420.7 MB, free: 6.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/0.2445, allocations: 299 kB / 421 MB, free: 6.383 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.2445, allocations: 29.7 kB / 421 MB, free: 6.348 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.2447, allocations: 208.6 kB / 421.2 MB, free: 6.141 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/0.2447, allocations: 59.48 kB / 421.3 MB, free: 6.082 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.2448, allocations: 61.66 kB / 421.3 MB, free: 6.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.245, allocations: 334.8 kB / 421.6 MB, free: 5.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/0.2454, allocations: 120.2 kB / 421.8 MB, free: 5.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.2459, allocations: 216.4 kB / 422 MB, free: 5.309 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008097/0.2467, allocations: 344.3 kB / 422.3 MB, free: 4.934 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2467, allocations: 3.938 kB / 422.3 MB, free: 4.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001329/0.248, allocations: 479.8 kB / 422.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.248, allocations: 37.69 kB / 422.8 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.2481, allocations: 8.062 kB / 422.8 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003221/0.2484, allocations: 60.81 kB / 422.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.2487, allocations: 71.89 kB / 423 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.2511, allocations: 1.629 MB / 424.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000396/0.2515, allocations: 55.73 kB / 424.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.2515, allocations: 16 kB / 424.7 MB, free: 2.422 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.0001921/0.2517, allocations: 157.9 kB / 424.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.2518, allocations: 35.69 kB / 424.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.605e-05/0.2519, allocations: 34.2 kB / 424.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2519, allocations: 4 kB / 424.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.2519, allocations: 0 / 424.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2519, allocations: 3.984 kB / 424.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.2536, allocations: 0.7963 MB / 425.7 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2536, allocations: 3.938 kB / 425.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.2538, allocations: 43.95 kB / 425.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002376/0.254, allocations: 60.86 kB / 425.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.2541, allocations: 11.98 kB / 425.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002208/0.2563, allocations: 1.622 MB / 427.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2563, allocations: 0 / 427.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.2578, allocations: 0.5633 MB / 428 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.2579, allocations: 105 kB / 428.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.2579, allocations: 4 kB / 428.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.2582, allocations: 40.02 kB / 428.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.2583, allocations: 19.97 kB / 428.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.2583, allocations: 8 kB / 428.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002355/0.2586, allocations: 206 kB / 428.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2586, allocations: 0 / 428.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004053/0.259, allocations: 87.78 kB / 428.4 MB, free: 14.37 MB / 350.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.0001626/0.2591, allocations: 115.4 kB / 428.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.2602, allocations: 437.8 kB / 429 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2602, allocations: 0 / 429 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004991/0.2607, allocations: 243.1 kB / 429.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.2611, allocations: 52.8 kB / 429.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.264, allocations: 0.8515 MB / 430.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.2644, allocations: 0.7639 MB / 430.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.2646, allocations: 34.95 kB / 430.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.239e-05/0.2646, allocations: 27.44 kB / 431 MB, free: 11.77 MB / 350.1 MB Notification: Performance of SimCode: time 6.22e-07/0.2646, allocations: 0 / 431 MB, free: 11.77 MB / 350.1 MB Notification: Performance of Templates: time 0.009194/0.2738, allocations: 4.346 MB / 435.3 MB, free: 7.457 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches