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.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 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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001346/0.001346, allocations: 118.6 kB / 18.45 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 207.6 kB / 19.4 MB, free: 3.516 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.397/1.397, allocations: 227.7 MB / 247.9 MB, free: 10.21 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.001927/0.001927, allocations: 63.91 kB / 359.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2592, allocations: 50.53 MB / 410.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004298/0.2635, allocations: 2.889 MB / 413.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.265, allocations: 0.7517 MB / 413.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.2651, allocations: 4 kB / 413.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.2653, allocations: 51.5 kB / 413.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.2655, allocations: 95.25 kB / 414 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.2658, allocations: 123.7 kB / 414.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004453/0.2662, allocations: 386.5 kB / 414.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.2665, allocations: 87.25 kB / 414.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003627/0.2668, allocations: 159.4 kB / 414.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.267, allocations: 171.2 kB / 414.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.732e-05/0.2671, allocations: 40 kB / 415 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.108e-05/0.2671, allocations: 36 kB / 415 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.042e-05/0.2672, allocations: 71.77 kB / 415.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.2674, allocations: 167.2 kB / 415.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000494/0.2679, allocations: 430.2 kB / 415.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2679, allocations: 0 / 415.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2679, allocations: 0 / 415.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.2679, allocations: 0 / 415.7 MB, free: 11.97 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.001399/0.2693, allocations: 0.6719 MB / 416.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2693, allocations: 12.03 kB / 416.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.138e-05/0.2694, allocations: 32.75 kB / 416.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.2698, allocations: 276.9 kB / 416.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.2698, allocations: 20.94 kB / 416.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.2699, allocations: 32.3 kB / 416.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007278/0.2706, allocations: 324 kB / 417 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2706, allocations: 0 / 417 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.2707, allocations: 8 kB / 417 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.2707, allocations: 8 kB / 417 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008093/0.2715, allocations: 270.1 kB / 417.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.2736, allocations: 1.185 MB / 418.5 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000929/0.2745, allocations: 238.5 kB / 418.7 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003679/0.2749, allocations: 100.8 kB / 418.8 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.2749, allocations: 0 / 418.8 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004715/0.2754, allocations: 168.3 kB / 419 MB, free: 8.438 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.2754, allocations: 3.938 kB / 419 MB, free: 8.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002194/0.2776, allocations: 0.5967 MB / 419.6 MB, free: 7.809 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.2777, allocations: 81.05 kB / 419.7 MB, free: 7.711 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.278, allocations: 270.6 kB / 419.9 MB, free: 7.441 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.278, allocations: 25.7 kB / 419.9 MB, free: 7.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/0.2782, allocations: 199.9 kB / 420.1 MB, free: 7.207 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.2783, allocations: 43.64 kB / 420.2 MB, free: 7.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-05/0.2784, allocations: 45.69 kB / 420.2 MB, free: 7.113 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2785, allocations: 334.8 kB / 420.6 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.2789, allocations: 112.1 kB / 420.7 MB, free: 6.664 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.2793, allocations: 191.5 kB / 420.8 MB, free: 6.438 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007651/0.2801, allocations: 299.7 kB / 421.1 MB, free: 6.102 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2801, allocations: 0 / 421.1 MB, free: 6.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001312/0.2814, allocations: 447.8 kB / 421.6 MB, free: 5.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.2814, allocations: 37.64 kB / 421.6 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.2814, allocations: 0 / 421.6 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003264/0.2818, allocations: 68.88 kB / 421.7 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.282, allocations: 59.89 kB / 421.7 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/0.2845, allocations: 1.633 MB / 423.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.2849, allocations: 55.86 kB / 423.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.2849, allocations: 12 kB / 423.4 MB, free: 3.641 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.0001758/0.2851, allocations: 149.7 kB / 423.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.2851, allocations: 23.8 kB / 423.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.653e-05/0.2852, allocations: 29.7 kB / 423.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2852, allocations: 0 / 423.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.2852, allocations: 4 kB / 423.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2852, allocations: 0 / 423.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.2855, allocations: 317.4 kB / 424 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2855, allocations: 0 / 424 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.2857, allocations: 31.97 kB / 424 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002388/0.2859, allocations: 60.81 kB / 424 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.2859, allocations: 8 kB / 424.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002207/0.2882, allocations: 1.617 MB / 425.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2882, allocations: 0 / 425.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.2897, allocations: 461.5 kB / 426.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.778e-05/0.2897, allocations: 108.9 kB / 426.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.2898, allocations: 4 kB / 426.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.29, allocations: 27.97 kB / 426.3 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.2901, allocations: 24.03 kB / 426.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.2901, allocations: 0 / 426.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000256/0.2904, allocations: 186 kB / 426.5 MB, free: 388 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2904, allocations: 0 / 426.5 MB, free: 388 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003487/0.2907, allocations: 75.84 kB / 426.5 MB, free: 312 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.0001635/0.2909, allocations: 111.1 kB / 426.6 MB, free: 188 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.2919, allocations: 401.9 kB / 427 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2919, allocations: 0 / 427 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004719/0.2924, allocations: 214.7 kB / 427.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.2927, allocations: 48.47 kB / 427.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003701/0.2964, allocations: 0.8832 MB / 428.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.2968, allocations: 0.7518 MB / 428.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.2969, allocations: 22.28 kB / 429 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.349e-05/0.297, allocations: 19.44 kB / 429 MB, free: 13.77 MB / 350.1 MB Notification: Performance of SimCode: time 4.9e-07/0.297, allocations: 4 kB / 429 MB, free: 13.76 MB / 350.1 MB Notification: Performance of Templates: time 0.008078/0.3051, allocations: 3.727 MB / 432.7 MB, free: 10.07 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches