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.00169/0.00169, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001948/0.001948, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.189/1.189, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 59.28 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08179/0.08284, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004069/0.08695, allocations: 2.867 MB / 361.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.08815, allocations: 0.7635 MB / 362.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.08829, allocations: 4 kB / 362.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.08847, allocations: 47.52 kB / 362.6 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.08865, allocations: 95.23 kB / 362.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.08896, allocations: 115.8 kB / 362.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003642/0.08933, allocations: 386.5 kB / 363.2 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.08954, allocations: 127.2 kB / 363.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.08979, allocations: 167.3 kB / 363.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.08999, allocations: 163.3 kB / 363.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.845e-05/0.09004, allocations: 40 kB / 363.7 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.836e-05/0.0901, allocations: 36 kB / 363.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.756e-05/0.09017, allocations: 83.69 kB / 363.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.09032, allocations: 163.2 kB / 363.9 MB, free: 8.289 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.09068, allocations: 426.6 kB / 364.4 MB, free: 7.871 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.09069, allocations: 0 / 364.4 MB, free: 7.871 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.09069, allocations: 0 / 364.4 MB, free: 7.871 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.09071, allocations: 3.938 kB / 364.4 MB, free: 7.867 MB / 302.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.001127/0.09184, allocations: 0.6565 MB / 365 MB, free: 7.156 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.09188, allocations: 15.97 kB / 365 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.09195, allocations: 32.56 kB / 365.1 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.0923, allocations: 288.6 kB / 365.4 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.09233, allocations: 24.88 kB / 365.4 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.09238, allocations: 28.38 kB / 365.4 MB, free: 6.734 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006124/0.093, allocations: 316 kB / 365.7 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.09302, allocations: 0 / 365.7 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.09305, allocations: 8 kB / 365.7 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.09307, allocations: 8 kB / 365.7 MB, free: 6.398 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007122/0.09378, allocations: 282 kB / 366 MB, free: 6.125 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.09557, allocations: 1.165 MB / 367.2 MB, free: 4.871 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007898/0.09637, allocations: 242.5 kB / 367.4 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/0.09669, allocations: 104.8 kB / 367.5 MB, free: 4.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.09672, allocations: 4 kB / 367.5 MB, free: 4.516 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004029/0.09713, allocations: 172.9 kB / 367.7 MB, free: 4.328 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.09714, allocations: 3.938 kB / 367.7 MB, free: 4.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001854/0.099, allocations: 0.5852 MB / 368.3 MB, free: 3.711 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.09905, allocations: 85.03 kB / 368.4 MB, free: 3.609 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.0993, allocations: 262.6 kB / 368.6 MB, free: 3.344 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.09934, allocations: 29.7 kB / 368.6 MB, free: 3.309 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.09945, allocations: 195.5 kB / 368.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.09949, allocations: 43.53 kB / 368.9 MB, free: 3.066 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.736e-05/0.09958, allocations: 49.61 kB / 368.9 MB, free: 3.012 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.09969, allocations: 330.8 kB / 369.2 MB, free: 2.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/0.1, allocations: 108.1 kB / 369.3 MB, free: 2.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.1004, allocations: 190.3 kB / 369.5 MB, free: 2.348 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006142/0.101, allocations: 307.7 kB / 369.8 MB, free: 2.004 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.101, allocations: 0 / 369.8 MB, free: 2.004 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001078/0.1021, allocations: 443.7 kB / 370.3 MB, free: 1.555 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.1021, allocations: 41.64 kB / 370.3 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.1022, allocations: 7.969 kB / 370.3 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000284/0.1024, allocations: 64.89 kB / 370.4 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.1027, allocations: 55.89 kB / 370.4 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1255/0.2282, allocations: 1.63 MB / 372.1 MB, free: 19.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.2286, allocations: 53.28 kB / 372.1 MB, free: 19.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.2286, allocations: 8.828 kB / 372.1 MB, free: 19.31 MB / 302.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.0001325/0.2288, allocations: 157.5 kB / 372.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.2288, allocations: 21 kB / 372.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.2288, allocations: 28.03 kB / 372.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2289, allocations: 3.094 kB / 372.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.2289, allocations: 0.5156 kB / 372.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2289, allocations: 4.453 kB / 372.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.2291, allocations: 310.4 kB / 372.6 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2291, allocations: 1.328 kB / 372.6 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.2293, allocations: 31 kB / 372.7 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002209/0.2295, allocations: 63.94 kB / 372.7 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.2296, allocations: 2.547 kB / 372.7 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.2312, allocations: 1.632 MB / 374.4 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2312, allocations: 0 / 374.4 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.2324, allocations: 448.6 kB / 374.8 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.2324, allocations: 97.03 kB / 374.9 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.2324, allocations: 10.78 kB / 374.9 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.2327, allocations: 34.72 kB / 374.9 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.2327, allocations: 18.69 kB / 375 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.2328, allocations: 3.562 kB / 375 MB, free: 17.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.2329, allocations: 188.9 kB / 375.2 MB, free: 17.42 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2329, allocations: 0.9375 kB / 375.2 MB, free: 17.42 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003098/0.2332, allocations: 68.14 kB / 375.2 MB, free: 17.42 MB / 302.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 9.978e-05/0.2333, allocations: 109.8 kB / 375.3 MB, free: 17.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008006/0.2341, allocations: 402.6 kB / 375.7 MB, free: 17.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2342, allocations: 1.062 kB / 375.7 MB, free: 17.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003784/0.2345, allocations: 222 kB / 375.9 MB, free: 17.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.2348, allocations: 53.66 kB / 376 MB, free: 17.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.2378, allocations: 0.8659 MB / 376.9 MB, free: 16.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.238, allocations: 0.7523 MB / 377.6 MB, free: 16.1 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.206e-05/0.2381, allocations: 25.3 kB / 377.6 MB, free: 16.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.371e-05/0.2381, allocations: 19.28 kB / 377.7 MB, free: 16.08 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2381, allocations: 1.375 kB / 377.7 MB, free: 16.08 MB / 302.1 MB Notification: Performance of Templates: time 0.5854/0.8235, allocations: 3.685 MB / 381.3 MB, free: 15.86 MB / 302.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/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