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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001351/0.001351, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004392/0.004392, allocations: 165 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.019/1.019, allocations: 177 MB / 205.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.293e-05, allocations: 2.312 kB / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003149/0.003172, allocations: 2.892 MB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.00431, allocations: 0.7049 MB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.004441, allocations: 8 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.004562, allocations: 51.52 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.004705, allocations: 107.1 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.004916, allocations: 99.75 kB / 276.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004433/0.00536, allocations: 398.3 kB / 277.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.005513, allocations: 87.66 kB / 277.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002991/0.005812, allocations: 235.4 kB / 277.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.005959, allocations: 135.6 kB / 277.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/0.005997, allocations: 40 kB / 277.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.481e-05/0.006032, allocations: 43.94 kB / 277.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.622e-05/0.006078, allocations: 71.75 kB / 277.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.562e-05/0.006163, allocations: 115.7 kB / 278 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.006397, allocations: 243.1 kB / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.0064, allocations: 4 kB / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006401, allocations: 4 kB / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.006407, allocations: 3.984 kB / 278.3 MB, free: 12.47 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0007341/0.007142, allocations: 0.669 MB / 278.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.007175, allocations: 15.97 kB / 278.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.288e-05/0.007258, allocations: 60.7 kB / 279 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.007523, allocations: 236 kB / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.007542, allocations: 20.88 kB / 279.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.007578, allocations: 28.38 kB / 279.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003318/0.00791, allocations: 260.7 kB / 279.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.007919, allocations: 192 / 279.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.007941, allocations: 12.38 kB / 279.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.007951, allocations: 11.94 kB / 279.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.008117, allocations: 94.94 kB / 279.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.009156, allocations: 0.9583 MB / 280.6 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.009657, allocations: 119.1 kB / 280.7 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.303e-05/0.00972, allocations: 35.72 kB / 280.8 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.009741, allocations: 7.984 kB / 280.8 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.009922, allocations: 178.3 kB / 280.9 MB, free: 9.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.009923, allocations: 0 / 280.9 MB, free: 9.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004921/0.01042, allocations: 229 kB / 281.2 MB, free: 9.336 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.01046, allocations: 106.8 kB / 281.3 MB, free: 9.207 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.01065, allocations: 300.2 kB / 281.6 MB, free: 8.898 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.01067, allocations: 33.7 kB / 281.6 MB, free: 8.859 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/0.01077, allocations: 242.7 kB / 281.8 MB, free: 8.617 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.01081, allocations: 51.62 kB / 281.9 MB, free: 8.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.01087, allocations: 59.55 kB / 281.9 MB, free: 8.496 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.011, allocations: 0.5117 MB / 282.4 MB, free: 7.973 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.992e-05/0.01108, allocations: 57.91 kB / 282.5 MB, free: 7.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.01121, allocations: 241.5 kB / 282.7 MB, free: 7.602 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.01138, allocations: 210 kB / 282.9 MB, free: 7.348 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01139, allocations: 7.938 kB / 283 MB, free: 7.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003448/0.01173, allocations: 288.3 kB / 283.2 MB, free: 7.035 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.58e-05/0.01179, allocations: 38 kB / 283.3 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01179, allocations: 8 kB / 283.3 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002342/0.01203, allocations: 55.58 kB / 283.3 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.01215, allocations: 51.91 kB / 283.4 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009935/0.01314, allocations: 1.847 MB / 285.2 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.01327, allocations: 31.88 kB / 285.3 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.01328, allocations: 16 kB / 285.3 MB, free: 4.852 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,integrator.opAmp.satNeg,integrator.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.01339, allocations: 184.5 kB / 285.5 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.01342, allocations: 31.86 kB / 285.5 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.01345, allocations: 21.78 kB / 285.5 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.01346, allocations: 7.984 kB / 285.5 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.01346, allocations: 4.031 kB / 285.5 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01346, allocations: 0 / 285.5 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.01363, allocations: 220.4 kB / 285.7 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01363, allocations: 0 / 285.7 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.405e-05/0.01372, allocations: 31.91 kB / 285.8 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001545/0.01387, allocations: 51.64 kB / 285.8 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.01388, allocations: 4 kB / 285.8 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009073/0.01479, allocations: 1.844 MB / 287.7 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01479, allocations: 4 kB / 287.7 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.01511, allocations: 227 kB / 287.9 MB, free: 2.027 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.583e-05/0.01513, allocations: 27.78 kB / 287.9 MB, free: 2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.01516, allocations: 7.938 kB / 287.9 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.01524, allocations: 28.05 kB / 288 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.0153, allocations: 19.95 kB / 288 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.01531, allocations: 4 kB / 288 MB, free: 1.941 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001138/0.01542, allocations: 205.1 kB / 288.2 MB, free: 1.742 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01542, allocations: 0 / 288.2 MB, free: 1.742 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002295/0.01565, allocations: 79.83 kB / 288.3 MB, free: 1.664 MB / 266.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: 5 ($whenCondition1,integrator.opAmp.satPos,integrator.opAmp.satNeg,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 (13): * Single equations (assignments): 10 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001327/0.01579, allocations: 99.19 kB / 288.4 MB, free: 1.559 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003909/0.01618, allocations: 381.6 kB / 288.7 MB, free: 1.148 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.01618, allocations: 4 kB / 288.7 MB, free: 1.145 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.01635, allocations: 241.3 kB / 289 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.01658, allocations: 49.02 kB / 289 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.01785, allocations: 0.5496 MB / 289.6 MB, free: 268 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.733e-05/0.0179, allocations: 88.17 kB / 289.6 MB, free: 160 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.186e-05/0.01797, allocations: 22.3 kB / 289.7 MB, free: 136 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.01802, allocations: 24.48 kB / 289.7 MB, free: 112 kB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01802, allocations: 0 / 289.7 MB, free: 112 kB / 266.7 MB Notification: Performance of Templates: time 0.00608/0.0241, allocations: 4.039 MB / 293.7 MB, free: 12.12 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0119650361593813]