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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000945/0.0009452, allocations: 101.7 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009868/0.0009869, allocations: 47.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2172, allocations: 50.45 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002984/0.2203, allocations: 2.924 MB / 410 MB, free: 24.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.2214, allocations: 0.7511 MB / 410.7 MB, free: 24.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.2216, allocations: 7.938 kB / 410.7 MB, free: 24.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.2217, allocations: 31.75 kB / 410.8 MB, free: 24.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.2219, allocations: 86.44 kB / 410.9 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.2221, allocations: 91.94 kB / 410.9 MB, free: 23.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.2223, allocations: 378.5 kB / 411.3 MB, free: 23.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.2225, allocations: 103.8 kB / 411.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.2227, allocations: 135.4 kB / 411.6 MB, free: 23.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.2229, allocations: 159.2 kB / 411.7 MB, free: 23.17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.2229, allocations: 24 kB / 411.7 MB, free: 23.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.177e-05/0.223, allocations: 24 kB / 411.8 MB, free: 23.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.115e-05/0.223, allocations: 55.81 kB / 411.8 MB, free: 23.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.2231, allocations: 151.2 kB / 412 MB, free: 22.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.2234, allocations: 404.1 kB / 412.4 MB, free: 22.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2234, allocations: 0 / 412.4 MB, free: 22.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2234, allocations: 3.984 kB / 412.4 MB, free: 22.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.2234, allocations: 0 / 412.4 MB, free: 22.52 MB / 298.7 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.001031/0.2244, allocations: 0.6604 MB / 413 MB, free: 21.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.2245, allocations: 8.031 kB / 413 MB, free: 21.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.2245, allocations: 36.55 kB / 413.1 MB, free: 21.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.2248, allocations: 284.7 kB / 413.3 MB, free: 21.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.2248, allocations: 16.94 kB / 413.4 MB, free: 21.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.2249, allocations: 28.38 kB / 413.4 MB, free: 21.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00057/0.2254, allocations: 319.9 kB / 413.7 MB, free: 21.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2254, allocations: 4 kB / 413.7 MB, free: 21.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.2255, allocations: 8 kB / 413.7 MB, free: 21.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.2255, allocations: 8 kB / 413.7 MB, free: 21.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006747/0.2262, allocations: 274 kB / 414 MB, free: 20.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.2277, allocations: 1.188 MB / 415.2 MB, free: 19.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007679/0.2285, allocations: 242.5 kB / 415.4 MB, free: 19.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/0.2288, allocations: 100.8 kB / 415.5 MB, free: 19.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.2288, allocations: 3.984 kB / 415.5 MB, free: 19.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004478/0.2293, allocations: 165 kB / 415.7 MB, free: 18.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.903e-06/0.2293, allocations: 0 / 415.7 MB, free: 18.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001811/0.2311, allocations: 0.5965 MB / 416.3 MB, free: 18.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.2311, allocations: 89.05 kB / 416.4 MB, free: 18.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.2313, allocations: 266.6 kB / 416.6 MB, free: 17.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.2314, allocations: 29.7 kB / 416.6 MB, free: 17.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.2314, allocations: 191.6 kB / 416.8 MB, free: 17.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.2315, allocations: 39.39 kB / 416.9 MB, free: 17.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.849e-05/0.2315, allocations: 49.61 kB / 416.9 MB, free: 17.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.394e-05/0.2316, allocations: 338.8 kB / 417.2 MB, free: 17.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003103/0.2319, allocations: 104.2 kB / 417.3 MB, free: 17.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.2322, allocations: 193 kB / 417.5 MB, free: 16.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005868/0.2328, allocations: 298.3 kB / 417.8 MB, free: 16.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2328, allocations: 4 kB / 417.8 MB, free: 16.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001023/0.2339, allocations: 439.7 kB / 418.3 MB, free: 16.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.2339, allocations: 41.62 kB / 418.3 MB, free: 16.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2339, allocations: 4 kB / 418.3 MB, free: 16.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002797/0.2342, allocations: 68.81 kB / 418.4 MB, free: 16.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.2344, allocations: 51.97 kB / 418.4 MB, free: 16.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.236, allocations: 1.522 MB / 419.9 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.2363, allocations: 47.72 kB / 420 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.2363, allocations: 12 kB / 420 MB, free: 14.32 MB / 298.7 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.0001019/0.2364, allocations: 153.6 kB / 420.2 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.2364, allocations: 23.66 kB / 420.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/0.2365, allocations: 29.7 kB / 420.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2365, allocations: 3.938 kB / 420.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2365, allocations: 4 kB / 420.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2365, allocations: 0 / 420.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.2367, allocations: 313.4 kB / 420.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2367, allocations: 0 / 420.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.2369, allocations: 35.97 kB / 420.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000192/0.2371, allocations: 60.81 kB / 420.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.2371, allocations: 4 kB / 420.6 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.2385, allocations: 1.507 MB / 422.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2385, allocations: 0 / 422.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006432/0.2449, allocations: 3.92 MB / 426 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.245, allocations: 96.95 kB / 426.1 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.245, allocations: 3.984 kB / 426.1 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.2453, allocations: 27.97 kB / 426.2 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/0.2454, allocations: 23.91 kB / 426.2 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.2454, allocations: 4 kB / 426.2 MB, free: 7.641 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000147/0.2455, allocations: 194 kB / 426.4 MB, free: 7.449 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2455, allocations: 0 / 426.4 MB, free: 7.449 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004101/0.246, allocations: 95.75 kB / 426.5 MB, free: 7.355 MB / 298.7 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.0001262/0.2461, allocations: 103.2 kB / 426.6 MB, free: 7.242 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000792/0.2469, allocations: 401.8 kB / 427 MB, free: 6.824 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2469, allocations: 0 / 427 MB, free: 6.824 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003608/0.2473, allocations: 219.2 kB / 427.2 MB, free: 6.598 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.2476, allocations: 40.53 kB / 427.2 MB, free: 6.559 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.2509, allocations: 1.237 MB / 428.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.2511, allocations: 0.7559 MB / 429.2 MB, free: 4.488 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.2512, allocations: 26.28 kB / 429.2 MB, free: 4.465 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.495e-05/0.2513, allocations: 23.38 kB / 429.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2513, allocations: 0 / 429.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of Templates: time 0.006018/0.2573, allocations: 4.141 MB / 433.4 MB, free: 348 kB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches