Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001635/0.001634, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00178/0.001781, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.615/1.615, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.89 kB / 358.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4077, allocations: 50.55 MB / 409.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004841/0.4126, allocations: 3.092 MB / 412.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.4143, allocations: 0.7948 MB / 413.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.4146, allocations: 4 kB / 413.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.4148, allocations: 59.48 kB / 413.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.4151, allocations: 115 kB / 413.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.4155, allocations: 127.8 kB / 413.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004947/0.416, allocations: 450.3 kB / 413.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002745/0.4163, allocations: 146.8 kB / 414.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.4166, allocations: 179.3 kB / 414.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.4169, allocations: 191.2 kB / 414.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.239e-05/0.4169, allocations: 51.94 kB / 414.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.705e-05/0.417, allocations: 44 kB / 414.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.239e-05/0.4171, allocations: 87.69 kB / 414.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.4173, allocations: 191.1 kB / 414.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004982/0.4178, allocations: 0.4917 MB / 415.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4178, allocations: 0 / 415.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4178, allocations: 0 / 415.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.4178, allocations: 0 / 415.3 MB, free: 11.53 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.001564/0.4194, allocations: 0.7071 MB / 416 MB, free: 10.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.4195, allocations: 8.031 kB / 416 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.4196, allocations: 40.47 kB / 416 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005935/0.4202, allocations: 310.7 kB / 416.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.4202, allocations: 20.94 kB / 416.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.745e-05/0.4203, allocations: 28.38 kB / 416.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008407/0.4211, allocations: 351.5 kB / 416.7 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4212, allocations: 4 kB / 416.7 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/0.4212, allocations: 12 kB / 416.7 MB, free: 9.961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.4212, allocations: 8 kB / 416.7 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008657/0.4221, allocations: 306 kB / 417 MB, free: 9.656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002358/0.4245, allocations: 1.278 MB / 418.3 MB, free: 8.285 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007075/0.4252, allocations: 230.4 kB / 418.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.4256, allocations: 120.8 kB / 418.7 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.4256, allocations: 0 / 418.7 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005121/0.4261, allocations: 185.8 kB / 418.8 MB, free: 7.727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.4261, allocations: 0 / 418.8 MB, free: 7.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.00256/0.4287, allocations: 0.6822 MB / 419.5 MB, free: 7.016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.463e-05/0.4288, allocations: 114.8 kB / 419.6 MB, free: 6.879 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/0.4292, allocations: 295 kB / 419.9 MB, free: 6.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.4293, allocations: 29.7 kB / 420 MB, free: 6.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.4295, allocations: 215.5 kB / 420.2 MB, free: 6.336 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.252e-05/0.4295, allocations: 43.36 kB / 420.2 MB, free: 6.293 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.4297, allocations: 53.61 kB / 420.3 MB, free: 6.234 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.4299, allocations: 342.8 kB / 420.6 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.4303, allocations: 115.9 kB / 420.7 MB, free: 5.777 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000428/0.4307, allocations: 207.9 kB / 420.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007632/0.4315, allocations: 326.1 kB / 421.2 MB, free: 5.172 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4315, allocations: 0 / 421.2 MB, free: 5.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001341/0.4328, allocations: 491.7 kB / 421.7 MB, free: 4.676 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/0.4329, allocations: 33.64 kB / 421.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4329, allocations: 4 kB / 421.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004102/0.4333, allocations: 88.86 kB / 421.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.4336, allocations: 55.89 kB / 421.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002833/0.4364, allocations: 2.001 MB / 423.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003966/0.4368, allocations: 55.8 kB / 423.9 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.4369, allocations: 12.12 kB / 424 MB, free: 2.277 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.0002451/0.4371, allocations: 160 kB / 424.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.4372, allocations: 31.62 kB / 424.1 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.07e-05/0.4373, allocations: 33.86 kB / 424.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4373, allocations: 3.938 kB / 424.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.4373, allocations: 0 / 424.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.4373, allocations: 0 / 424.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003674/0.4377, allocations: 345.4 kB / 424.5 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4377, allocations: 0 / 424.5 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.4379, allocations: 27.97 kB / 424.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002983/0.4382, allocations: 84.8 kB / 424.6 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.4382, allocations: 4 kB / 424.6 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002403/0.4406, allocations: 1.805 MB / 426.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4406, allocations: 0 / 426.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.4421, allocations: 0.4895 MB / 426.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.159e-05/0.4422, allocations: 104.8 kB / 427 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.4423, allocations: 11.94 kB / 427 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.4425, allocations: 43.95 kB / 427.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-05/0.4426, allocations: 19.97 kB / 427.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.4426, allocations: 4 kB / 427.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002098/0.4428, allocations: 206 kB / 427.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4429, allocations: 0 / 427.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004341/0.4433, allocations: 87.84 kB / 427.4 MB, free: 14.59 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.0001772/0.4435, allocations: 107.2 kB / 427.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.4446, allocations: 459.9 kB / 427.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4446, allocations: 0 / 427.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004814/0.4451, allocations: 242.5 kB / 428.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.4455, allocations: 59.81 kB / 428.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.4468, allocations: 0.5683 MB / 428.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.4472, allocations: 0.7678 MB / 429.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.4473, allocations: 26.97 kB / 429.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.4474, allocations: 23.44 kB / 429.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4474, allocations: 0 / 429.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of Templates: time 0.008944/0.4563, allocations: 4.477 MB / 434.1 MB, free: 7.824 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches