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.001052/0.001052, allocations: 197.4 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 226.5 MB / 245.4 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000939/0.0009391, allocations: 108.8 kB / 297.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002675, allocations: 11.98 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2747, allocations: 51.29 MB / 409.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1114/0.3862, allocations: 82.29 MB / 491.7 MB, free: 9.254 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.3864, allocations: 83.95 kB / 491.8 MB, free: 9.172 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01795/0.4044, allocations: 6.391 MB / 498.2 MB, free: 2.758 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4044, allocations: 4 kB / 498.2 MB, free: 2.754 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.291e-05/0.4045, allocations: 4 kB / 498.2 MB, free: 2.75 MB / 362.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.001301/0.4058, allocations: 0.6221 MB / 498.8 MB, free: 2.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4058, allocations: 8.031 kB / 498.8 MB, free: 2.062 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.4059, allocations: 36.5 kB / 498.8 MB, free: 2.027 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004645/0.4064, allocations: 293.2 kB / 499.1 MB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.4065, allocations: 24.92 kB / 499.1 MB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.4065, allocations: 20.38 kB / 499.2 MB, free: 1.656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007307/0.4073, allocations: 332.1 kB / 499.5 MB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.4073, allocations: 192 / 499.5 MB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.4073, allocations: 15.94 kB / 499.5 MB, free: 1.309 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.4074, allocations: 4 kB / 499.5 MB, free: 1.305 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008091/0.4082, allocations: 306.1 kB / 499.8 MB, free: 1.004 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002282/0.4105, allocations: 1.216 MB / 0.4893 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008641/0.4114, allocations: 278.5 kB / 0.4895 GB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.4117, allocations: 112.8 kB / 0.4896 GB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.4117, allocations: 8 kB / 0.4897 GB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004952/0.4122, allocations: 190.1 kB / 0.4898 GB, free: 15.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.764e-06/0.4122, allocations: 0 / 0.4898 GB, free: 15.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.002017/0.4143, allocations: 0.6591 MB / 0.4905 GB, free: 14.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.523e-05/0.4144, allocations: 81.11 kB / 0.4906 GB, free: 14.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/0.4147, allocations: 262.6 kB / 0.4908 GB, free: 14.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.423e-05/0.4148, allocations: 33.7 kB / 0.4908 GB, free: 14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.415, allocations: 191.5 kB / 0.491 GB, free: 13.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.4151, allocations: 47.47 kB / 0.4911 GB, free: 13.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/0.4151, allocations: 8 kB / 0.4911 GB, free: 13.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.4153, allocations: 330.8 kB / 0.4914 GB, free: 13.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/0.4157, allocations: 116.2 kB / 0.4915 GB, free: 13.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.4161, allocations: 215.3 kB / 0.4917 GB, free: 13.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008702/0.417, allocations: 327.8 kB / 0.492 GB, free: 12.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.417, allocations: 0 / 0.492 GB, free: 12.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001442/0.4185, allocations: 490.6 kB / 0.4925 GB, free: 12.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/0.4185, allocations: 33.7 kB / 0.4925 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.4186, allocations: 4 kB / 0.4925 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003563/0.4189, allocations: 80.8 kB / 0.4926 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.4192, allocations: 63.89 kB / 0.4927 GB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.4217, allocations: 1.547 MB / 0.4942 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.4221, allocations: 55.81 kB / 0.4942 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.4221, allocations: 16 kB / 0.4942 GB, free: 10.26 MB / 378.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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002305/0.4224, allocations: 145.7 kB / 0.4944 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/0.4225, allocations: 23.75 kB / 0.4944 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.4225, allocations: 21.72 kB / 0.4944 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4225, allocations: 8 kB / 0.4944 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4225, allocations: 3.984 kB / 0.4944 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4225, allocations: 0 / 0.4944 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/0.4229, allocations: 313.3 kB / 0.4947 GB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4229, allocations: 0 / 0.4947 GB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.4232, allocations: 43.97 kB / 0.4948 GB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002432/0.4234, allocations: 68.81 kB / 0.4948 GB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.4234, allocations: 3.984 kB / 0.4948 GB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.4253, allocations: 1.538 MB / 0.4963 GB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.4254, allocations: 0 / 0.4963 GB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.4267, allocations: 0.4935 MB / 0.4968 GB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.4268, allocations: 104.8 kB / 0.4969 GB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.4269, allocations: 4.062 kB / 0.4969 GB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.4271, allocations: 35.97 kB / 0.497 GB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.896e-05/0.4272, allocations: 23.91 kB / 0.497 GB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.4273, allocations: 4 kB / 0.497 GB, free: 7.211 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002259/0.4275, allocations: 186 kB / 0.4972 GB, free: 7.027 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.4275, allocations: 4 kB / 0.4972 GB, free: 7.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003763/0.4279, allocations: 83.78 kB / 0.4973 GB, free: 6.941 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001679/0.4281, allocations: 103.2 kB / 0.4974 GB, free: 6.832 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.4291, allocations: 434.8 kB / 0.4978 GB, free: 6.383 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4291, allocations: 4 kB / 0.4978 GB, free: 6.379 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004528/0.4296, allocations: 231.1 kB / 0.498 GB, free: 6.141 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.4299, allocations: 47.97 kB / 0.498 GB, free: 6.098 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.4334, allocations: 1.02 MB / 0.499 GB, free: 5.051 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.4337, allocations: 0.7559 MB / 0.4998 GB, free: 4.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.4339, allocations: 26.28 kB / 0.4998 GB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.434, allocations: 19.44 kB / 0.4998 GB, free: 4.223 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.434, allocations: 0 / 0.4998 GB, free: 4.223 MB / 378.7 MB Notification: Performance of Templates: time 0.007327/0.4413, allocations: 3.266 MB / 0.503 GB, free: 0.9922 MB / 378.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/jenkins1/ws/OpenModelicaLibraryTestingWork/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