Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001595/0.001595, allocations: 201.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.595/1.595, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002427/0.002428, allocations: 63.89 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4604/0.4628, allocations: 50.54 MB / 409.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004909/0.4678, allocations: 2.87 MB / 412.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.4697, allocations: 0.7518 MB / 412.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003589/0.47, allocations: 4 kB / 412.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.4704, allocations: 43.58 kB / 412.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.4707, allocations: 107.2 kB / 413.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.4711, allocations: 111.8 kB / 413.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005496/0.4717, allocations: 390.5 kB / 413.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002845/0.472, allocations: 127.2 kB / 413.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003946/0.4724, allocations: 155.4 kB / 413.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.4726, allocations: 175.2 kB / 414 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.344e-05/0.4727, allocations: 40 kB / 414 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.474e-05/0.4728, allocations: 36 kB / 414.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.314e-05/0.4729, allocations: 71.81 kB / 414.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.4731, allocations: 163.2 kB / 414.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005694/0.4736, allocations: 427.7 kB / 414.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.361e-06/0.4737, allocations: 0 / 414.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4737, allocations: 0 / 414.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.4737, allocations: 0 / 414.7 MB, free: 12.1 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001968/0.4757, allocations: 0.6682 MB / 415.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.4757, allocations: 8.031 kB / 415.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.4759, allocations: 32.56 kB / 415.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006952/0.4766, allocations: 292.7 kB / 415.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/0.4766, allocations: 20.94 kB / 415.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.514e-05/0.4767, allocations: 24.38 kB / 415.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000943/0.4777, allocations: 315.9 kB / 416.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.4777, allocations: 4 kB / 416.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.4777, allocations: 11.98 kB / 416.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.4778, allocations: 8 kB / 416.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008954/0.4787, allocations: 270.1 kB / 416.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/0.4811, allocations: 1.177 MB / 417.5 MB, free: 9.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009624/0.482, allocations: 246.5 kB / 417.8 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003772/0.4824, allocations: 104.8 kB / 417.9 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.4825, allocations: 4 kB / 417.9 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005561/0.4831, allocations: 165 kB / 418 MB, free: 8.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 3.717e-06/0.4831, allocations: 4 kB / 418 MB, free: 8.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002299/0.4854, allocations: 0.5927 MB / 418.6 MB, free: 7.934 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.922e-05/0.4855, allocations: 85.03 kB / 418.7 MB, free: 7.832 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004072/0.4859, allocations: 266.5 kB / 419 MB, free: 7.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.486, allocations: 29.7 kB / 419 MB, free: 7.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.4862, allocations: 195.5 kB / 419.2 MB, free: 7.332 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.4862, allocations: 39.45 kB / 419.2 MB, free: 7.293 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.4863, allocations: 53.61 kB / 419.3 MB, free: 7.234 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4865, allocations: 334.8 kB / 419.6 MB, free: 6.898 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/0.4869, allocations: 100.2 kB / 419.7 MB, free: 6.797 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/0.4873, allocations: 191.5 kB / 419.9 MB, free: 6.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000783/0.4881, allocations: 307.3 kB / 420.2 MB, free: 6.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4881, allocations: 0 / 420.2 MB, free: 6.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001386/0.4895, allocations: 443.7 kB / 420.6 MB, free: 5.781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/0.4896, allocations: 37.64 kB / 420.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.4896, allocations: 4 kB / 420.7 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003718/0.49, allocations: 68.88 kB / 420.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.4903, allocations: 55.89 kB / 420.8 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/0.4927, allocations: 1.636 MB / 422.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004122/0.4932, allocations: 47.72 kB / 422.5 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.4932, allocations: 8 kB / 422.5 MB, free: 3.781 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 (25): * Single equations (assignments): 23 * 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.0002223/0.4934, allocations: 161.4 kB / 422.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.4935, allocations: 31.8 kB / 422.7 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.214e-05/0.4936, allocations: 17.72 kB / 422.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4936, allocations: 4 kB / 422.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4936, allocations: 0 / 422.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.4936, allocations: 3.984 kB / 422.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003764/0.494, allocations: 317.3 kB / 423 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.494, allocations: 0 / 423 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.4942, allocations: 31.97 kB / 423 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002492/0.4945, allocations: 60.81 kB / 423.1 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.4945, allocations: 8 kB / 423.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/0.4967, allocations: 1.629 MB / 424.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4968, allocations: 0 / 424.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.4982, allocations: 453.9 kB / 425.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.791e-05/0.4984, allocations: 100.8 kB / 425.3 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.4984, allocations: 8.062 kB / 425.3 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.4987, allocations: 27.97 kB / 425.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-05/0.4988, allocations: 19.97 kB / 425.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.4988, allocations: 4 kB / 425.3 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.499, allocations: 190 kB / 425.5 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.499, allocations: 0 / 425.5 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004138/0.4994, allocations: 67.84 kB / 425.6 MB, free: 452 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001705/0.4996, allocations: 107.2 kB / 425.7 MB, free: 332 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.5007, allocations: 413.9 kB / 426.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5008, allocations: 0 / 426.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005053/0.5013, allocations: 215.2 kB / 426.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.5017, allocations: 62.14 kB / 426.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003948/0.5056, allocations: 0.8759 MB / 427.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.5061, allocations: 0.748 MB / 428 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000156/0.5063, allocations: 26.28 kB / 428 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.677e-05/0.5064, allocations: 19.44 kB / 428 MB, free: 13.89 MB / 350.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5064, allocations: 0 / 428 MB, free: 13.89 MB / 350.1 MB Notification: Performance of Templates: time 0.01037/0.5167, allocations: 3.708 MB / 431.7 MB, free: 10.21 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches