Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 111.7 kB / 17.74 MB, free: 5.32 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.00102/0.00102, allocations: 189.6 kB / 18.67 MB, free: 4.398 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.32/1.32, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 56.06 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2618, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004166/0.266, allocations: 3.085 MB / 404.5 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.2672, allocations: 0.7598 MB / 405.3 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.2674, allocations: 7.938 kB / 405.3 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.2676, allocations: 51.5 kB / 405.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.2678, allocations: 115 kB / 405.4 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.2681, allocations: 127.8 kB / 405.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004245/0.2686, allocations: 458.2 kB / 406 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.2688, allocations: 126.9 kB / 406.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.2691, allocations: 183.3 kB / 406.3 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.2693, allocations: 191.2 kB / 406.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.984e-05/0.2694, allocations: 44 kB / 406.6 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.435e-05/0.2694, allocations: 48 kB / 406.6 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.004e-05/0.2695, allocations: 83.69 kB / 406.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.2697, allocations: 195.1 kB / 406.9 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.2702, allocations: 499.4 kB / 407.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2702, allocations: 0 / 407.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2702, allocations: 4 kB / 407.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.2702, allocations: 0 / 407.4 MB, free: 2.91 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.001388/0.2716, allocations: 0.7032 MB / 408.1 MB, free: 2.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.2716, allocations: 11.89 kB / 408.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.603e-05/0.2717, allocations: 40.47 kB / 408.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.2722, allocations: 306.7 kB / 408.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.2722, allocations: 20.94 kB / 408.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.2723, allocations: 28.31 kB / 408.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007591/0.273, allocations: 359.5 kB / 408.8 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.2731, allocations: 7.984 kB / 408.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.2731, allocations: 12 kB / 408.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.2731, allocations: 4 kB / 408.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008474/0.274, allocations: 306 kB / 409.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.2762, allocations: 1.278 MB / 410.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006896/0.2769, allocations: 226.4 kB / 410.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/0.2772, allocations: 117 kB / 410.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.2773, allocations: 4 kB / 410.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005033/0.2778, allocations: 197.8 kB / 411 MB, free: 15.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.2778, allocations: 0 / 411 MB, free: 15.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002391/0.2802, allocations: 0.6823 MB / 411.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.01e-05/0.2803, allocations: 110.8 kB / 411.7 MB, free: 14.26 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.2806, allocations: 294.9 kB / 412 MB, free: 13.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.2807, allocations: 37.69 kB / 412.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.2808, allocations: 199.6 kB / 412.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.205e-05/0.2809, allocations: 55.33 kB / 412.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.281, allocations: 57.61 kB / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2811, allocations: 338.8 kB / 412.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.2815, allocations: 107.9 kB / 412.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004198/0.282, allocations: 220.4 kB / 413 MB, free: 12.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007341/0.2827, allocations: 326.4 kB / 413.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2827, allocations: 4 kB / 413.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001312/0.284, allocations: 479.6 kB / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.431e-05/0.2841, allocations: 45.7 kB / 413.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.2841, allocations: 4 kB / 413.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003892/0.2845, allocations: 80.8 kB / 413.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.2848, allocations: 67.83 kB / 414 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002683/0.2875, allocations: 1.99 MB / 416 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003911/0.2879, allocations: 55.66 kB / 416.1 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.2879, allocations: 15.98 kB / 416.1 MB, free: 9.645 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.0001868/0.2881, allocations: 157.3 kB / 416.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.2882, allocations: 31.56 kB / 416.3 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.2882, allocations: 25.86 kB / 416.3 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2882, allocations: 7.938 kB / 416.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2883, allocations: 0 / 416.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.2883, allocations: 0 / 416.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.2886, allocations: 345.4 kB / 416.6 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2886, allocations: 0 / 416.6 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.2888, allocations: 35.91 kB / 416.7 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002756/0.2891, allocations: 80.8 kB / 416.7 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.2891, allocations: 0 / 416.7 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002286/0.2914, allocations: 1.816 MB / 418.6 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2914, allocations: 0 / 418.6 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.2929, allocations: 0.4934 MB / 419 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.524e-05/0.293, allocations: 104.8 kB / 419.1 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.2931, allocations: 7.938 kB / 419.2 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.2933, allocations: 35.95 kB / 419.2 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.2934, allocations: 19.97 kB / 419.2 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.2934, allocations: 4 kB / 419.2 MB, free: 6.254 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000221/0.2937, allocations: 214 kB / 419.4 MB, free: 6.047 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2937, allocations: 0 / 419.4 MB, free: 6.047 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004072/0.2941, allocations: 79.84 kB / 419.5 MB, free: 5.969 MB / 334.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.0001595/0.2943, allocations: 111.2 kB / 419.6 MB, free: 5.852 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.2953, allocations: 449.6 kB / 420 MB, free: 5.387 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2954, allocations: 0 / 420 MB, free: 5.387 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005047/0.2959, allocations: 243.2 kB / 420.3 MB, free: 5.137 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.2963, allocations: 57.2 kB / 420.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.2975, allocations: 0.6199 MB / 421 MB, free: 4.434 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.2979, allocations: 0.7639 MB / 421.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.251e-05/0.298, allocations: 23.44 kB / 421.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.298, allocations: 0 / 421.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of Templates: time 0.007292/0.3053, allocations: 5.197 MB / 426.9 MB, free: 14.43 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches