Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001468/0.001468, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001706/0.001707, allocations: 205.9 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.659/1.659, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.91 kB / 358.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3876, allocations: 50.54 MB / 409.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.006358/0.394, allocations: 3.096 MB / 412.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003015/0.3971, allocations: 0.7949 MB / 413.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005823/0.3977, allocations: 4 kB / 413.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003536/0.3981, allocations: 55.44 kB / 413.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005638/0.3987, allocations: 115 kB / 413.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.3992, allocations: 135.8 kB / 413.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006063/0.3999, allocations: 458.2 kB / 413.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000325/0.4002, allocations: 142.9 kB / 414.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004081/0.4006, allocations: 187.3 kB / 414.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/0.4009, allocations: 187.2 kB / 414.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.741e-05/0.401, allocations: 48 kB / 414.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.098e-05/0.4011, allocations: 44 kB / 414.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.4012, allocations: 87.69 kB / 414.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.4015, allocations: 203 kB / 414.8 MB, free: 12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006682/0.4021, allocations: 495.5 kB / 415.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4022, allocations: 0 / 415.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4022, allocations: 0 / 415.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.4022, allocations: 0 / 415.3 MB, free: 11.52 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.001667/0.4039, allocations: 0.7265 MB / 416 MB, free: 10.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.4039, allocations: 8.031 kB / 416 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.494e-05/0.404, allocations: 40.47 kB / 416.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000597/0.4046, allocations: 314.6 kB / 416.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.4047, allocations: 20.94 kB / 416.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/0.4047, allocations: 28.38 kB / 416.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008702/0.4056, allocations: 351.5 kB / 416.8 MB, free: 9.938 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.4056, allocations: 0 / 416.8 MB, free: 9.938 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.4057, allocations: 12 kB / 416.8 MB, free: 9.926 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.4057, allocations: 11.98 kB / 416.8 MB, free: 9.914 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008418/0.4066, allocations: 310 kB / 417.1 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.4088, allocations: 1.248 MB / 418.3 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008323/0.4097, allocations: 331.5 kB / 418.7 MB, free: 7.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004233/0.4101, allocations: 144.8 kB / 418.8 MB, free: 7.781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.4102, allocations: 3.938 kB / 418.8 MB, free: 7.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005399/0.4107, allocations: 196.7 kB / 419 MB, free: 7.566 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.4107, allocations: 0 / 419 MB, free: 7.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.002205/0.4129, allocations: 0.6432 MB / 419.6 MB, free: 6.895 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.413, allocations: 106.8 kB / 419.7 MB, free: 6.766 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.4134, allocations: 291.2 kB / 420 MB, free: 6.477 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/0.4134, allocations: 33.7 kB / 420.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.4136, allocations: 219.9 kB / 420.3 MB, free: 6.219 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/0.4137, allocations: 55.25 kB / 420.3 MB, free: 6.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.932e-05/0.4138, allocations: 57.61 kB / 420.4 MB, free: 6.102 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.414, allocations: 330.8 kB / 420.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.4143, allocations: 120.2 kB / 420.8 MB, free: 5.652 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.4148, allocations: 217.3 kB / 421 MB, free: 5.398 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007628/0.4155, allocations: 347.2 kB / 421.4 MB, free: 5.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4156, allocations: 0 / 421.4 MB, free: 5.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001259/0.4168, allocations: 479.7 kB / 421.8 MB, free: 4.535 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.902e-05/0.4169, allocations: 37.7 kB / 421.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.4169, allocations: 4 kB / 421.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000373/0.4173, allocations: 60.81 kB / 421.9 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.4176, allocations: 72.05 kB / 422 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.42, allocations: 1.648 MB / 423.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/0.4204, allocations: 55.78 kB / 423.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.4204, allocations: 16 kB / 423.7 MB, free: 2.496 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.0001892/0.4206, allocations: 157.6 kB / 423.9 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.4207, allocations: 27.66 kB / 423.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.605e-05/0.4207, allocations: 30.2 kB / 423.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.4207, allocations: 4 kB / 423.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.4207, allocations: 0 / 423.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4208, allocations: 0 / 423.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.4223, allocations: 0.7949 MB / 424.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.4223, allocations: 0 / 424.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.4226, allocations: 39.95 kB / 424.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002228/0.4228, allocations: 72.78 kB / 424.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.4228, allocations: 4 kB / 424.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.4248, allocations: 1.621 MB / 426.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.4249, allocations: 0 / 426.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.4264, allocations: 0.5697 MB / 427 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.853e-05/0.4265, allocations: 112.7 kB / 427.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.4265, allocations: 8 kB / 427.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.4268, allocations: 31.97 kB / 427.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.4269, allocations: 19.97 kB / 427.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.4269, allocations: 4 kB / 427.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002386/0.4272, allocations: 210 kB / 427.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4272, allocations: 8 kB / 427.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004059/0.4276, allocations: 79.84 kB / 427.5 MB, free: 14.46 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.0002263/0.4278, allocations: 103.5 kB / 427.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.429, allocations: 450.9 kB / 428.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.429, allocations: 0 / 428.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004873/0.4295, allocations: 247 kB / 428.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.4299, allocations: 56.78 kB / 428.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.4327, allocations: 0.8303 MB / 429.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.4331, allocations: 0.7639 MB / 429.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.4332, allocations: 38.89 kB / 430 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.719e-05/0.4333, allocations: 31.42 kB / 430 MB, free: 11.86 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4333, allocations: 4 kB / 430 MB, free: 11.85 MB / 350.1 MB Notification: Performance of Templates: time 0.008776/0.4421, allocations: 4.339 MB / 434.4 MB, free: 7.562 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches