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.HighPass.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.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001536/0.001536, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001603/0.001603, allocations: 207.6 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.404/1.404, 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.001931/0.001931, allocations: 67.89 kB / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2821, allocations: 50.55 MB / 410.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004559/0.2866, allocations: 3.092 MB / 413.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.2883, allocations: 0.8026 MB / 414.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.2884, allocations: 4 kB / 414.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.2886, allocations: 55.44 kB / 414.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.2889, allocations: 123 kB / 414.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.2892, allocations: 123.8 kB / 414.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005164/0.2897, allocations: 462.2 kB / 414.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.2899, allocations: 102.8 kB / 415 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003334/0.2903, allocations: 175.4 kB / 415.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.2905, allocations: 187.2 kB / 415.3 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.417e-05/0.2906, allocations: 44 kB / 415.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.693e-05/0.2906, allocations: 44 kB / 415.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.103e-05/0.2907, allocations: 95.67 kB / 415.5 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.2909, allocations: 191.1 kB / 415.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005463/0.2915, allocations: 0.4902 MB / 416.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2915, allocations: 3.938 kB / 416.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2915, allocations: 4 kB / 416.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.2915, allocations: 0 / 416.2 MB, free: 11.45 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.001409/0.2929, allocations: 0.7146 MB / 416.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.2929, allocations: 11.97 kB / 416.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.233e-05/0.293, allocations: 40.7 kB / 417 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004806/0.2935, allocations: 306.8 kB / 417.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.2935, allocations: 20.94 kB / 417.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/0.2936, allocations: 28.38 kB / 417.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007996/0.2944, allocations: 359.5 kB / 417.7 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.2944, allocations: 4 kB / 417.7 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.2944, allocations: 12 kB / 417.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.2944, allocations: 7.984 kB / 417.7 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008552/0.2953, allocations: 302 kB / 418 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.2976, allocations: 1.283 MB / 419.3 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007299/0.2983, allocations: 218.4 kB / 419.5 MB, free: 7.961 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003512/0.2987, allocations: 112.7 kB / 419.6 MB, free: 7.848 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.2987, allocations: 0 / 419.6 MB, free: 7.848 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005242/0.2992, allocations: 189.1 kB / 419.8 MB, free: 7.645 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.2992, allocations: 0 / 419.8 MB, free: 7.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002583/0.3018, allocations: 0.6824 MB / 420.5 MB, free: 6.934 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.3019, allocations: 114.7 kB / 420.6 MB, free: 6.797 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/0.3023, allocations: 295 kB / 420.9 MB, free: 6.504 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.3023, allocations: 33.7 kB / 420.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.3025, allocations: 212 kB / 421.1 MB, free: 6.254 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.905e-05/0.3026, allocations: 47.58 kB / 421.2 MB, free: 6.207 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.3027, allocations: 61.66 kB / 421.2 MB, free: 6.141 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3028, allocations: 338.8 kB / 421.5 MB, free: 5.801 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.3032, allocations: 115.9 kB / 421.7 MB, free: 5.688 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/0.3036, allocations: 211.9 kB / 421.9 MB, free: 5.438 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007581/0.3044, allocations: 319.7 kB / 422.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3044, allocations: 4 kB / 422.2 MB, free: 5.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001326/0.3057, allocations: 486.4 kB / 422.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.3058, allocations: 45.62 kB / 422.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.3059, allocations: 4 kB / 422.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004019/0.3063, allocations: 84.73 kB / 422.8 MB, free: 4.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.3065, allocations: 55.97 kB / 422.8 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002781/0.3093, allocations: 1.998 MB / 424.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.3097, allocations: 51.81 kB / 424.9 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.3097, allocations: 16.06 kB / 424.9 MB, free: 2.188 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 (26): * Single equations (assignments): 24 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001946/0.3099, allocations: 157.7 kB / 425.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.3099, allocations: 31.8 kB / 425.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.31, allocations: 25.81 kB / 425.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.31, allocations: 11.92 kB / 425.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-06/0.31, allocations: 0 / 425.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.31, allocations: 0 / 425.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.3104, allocations: 333.4 kB / 425.5 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3104, allocations: 7.984 kB / 425.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.3106, allocations: 35.97 kB / 425.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002811/0.3108, allocations: 72.81 kB / 425.6 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.3109, allocations: 7.984 kB / 425.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/0.3133, allocations: 1.821 MB / 427.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3133, allocations: 3.938 kB / 427.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.3147, allocations: 0.4888 MB / 427.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3148, allocations: 108.9 kB / 428 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.3149, allocations: 3.938 kB / 428 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.3151, allocations: 35.95 kB / 428 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.3152, allocations: 15.98 kB / 428 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.3152, allocations: 15.98 kB / 428.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002319/0.3155, allocations: 214 kB / 428.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3155, allocations: 0 / 428.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004062/0.3159, allocations: 87.78 kB / 428.4 MB, free: 14.49 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.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 (11): * Single equations (assignments): 8 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001552/0.316, allocations: 103.2 kB / 428.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.3171, allocations: 429.8 kB / 428.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3171, allocations: 0.6875 kB / 428.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005212/0.3176, allocations: 242.5 kB / 429.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.318, allocations: 56.78 kB / 429.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.3193, allocations: 0.5947 MB / 429.8 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.3198, allocations: 0.7677 MB / 430.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.3199, allocations: 26.98 kB / 430.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.796e-05/0.3199, allocations: 23.44 kB / 430.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3199, allocations: 0 / 430.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of Templates: time 0.00946/0.3294, allocations: 4.509 MB / 435.1 MB, free: 7.691 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches