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.001049/0.00105, allocations: 197.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.183/1.183, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009201/0.00092, allocations: 100.1 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000227/0.0002271, allocations: 8 kB / 357.9 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1873, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09032/0.2777, allocations: 82.31 MB / 491.7 MB, free: 8.309 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.2779, allocations: 79.95 kB / 491.8 MB, free: 8.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.017/0.295, allocations: 6.369 MB / 498.2 MB, free: 1.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.295, allocations: 0 / 498.2 MB, free: 1.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.008e-05/0.295, allocations: 8 kB / 498.2 MB, free: 1.832 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.001079/0.2961, allocations: 0.6221 MB / 498.8 MB, free: 1.156 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.2961, allocations: 12.03 kB / 498.8 MB, free: 1.145 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.688e-05/0.2962, allocations: 31.62 kB / 498.9 MB, free: 1.113 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.2966, allocations: 296.5 kB / 499.1 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.2967, allocations: 16.56 kB / 499.2 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.2967, allocations: 28 kB / 499.2 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006712/0.2974, allocations: 323.6 kB / 499.5 MB, free: 420 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2974, allocations: 4 kB / 499.5 MB, free: 416 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.2975, allocations: 4 kB / 499.5 MB, free: 412 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.2975, allocations: 8 kB / 499.5 MB, free: 404 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007727/0.2983, allocations: 306 kB / 499.8 MB, free: 96 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.3003, allocations: 1.216 MB / 0.4893 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008759/0.3012, allocations: 278.6 kB / 0.4896 GB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.3012, allocations: 7.938 kB / 0.4896 GB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004693/0.3017, allocations: 183.2 kB / 0.4897 GB, free: 14.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.3017, allocations: 0 / 0.4897 GB, free: 14.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.001976/0.3037, allocations: 0.6703 MB / 0.4904 GB, free: 13.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.3037, allocations: 81.11 kB / 0.4905 GB, free: 13.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.304, allocations: 241.6 kB / 0.4907 GB, free: 13.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.304, allocations: 29.7 kB / 0.4907 GB, free: 13.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.3041, allocations: 191.6 kB / 0.4909 GB, free: 13.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.3042, allocations: 47.39 kB / 0.491 GB, free: 13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.219e-05/0.3042, allocations: 4 kB / 0.491 GB, free: 12.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3043, allocations: 334.8 kB / 0.4913 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.3047, allocations: 120.2 kB / 0.4914 GB, free: 12.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/0.3051, allocations: 199.5 kB / 0.4916 GB, free: 12.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/0.3055, allocations: 164.3 kB / 0.4917 GB, free: 12.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3055, allocations: 4 kB / 0.4918 GB, free: 12.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001166/0.3067, allocations: 475.8 kB / 0.4922 GB, free: 11.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.3067, allocations: 32.2 kB / 0.4922 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3067, allocations: 4 kB / 0.4922 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003067/0.307, allocations: 80.77 kB / 0.4923 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.3073, allocations: 63.89 kB / 0.4924 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.3093, allocations: 1.569 MB / 0.4939 GB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.3097, allocations: 67.78 kB / 0.494 GB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.3097, allocations: 19.94 kB / 0.494 GB, free: 9.684 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.0001336/0.3098, allocations: 140.8 kB / 0.4941 GB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.3099, allocations: 23.72 kB / 0.4942 GB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.976e-05/0.3099, allocations: 29.66 kB / 0.4942 GB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.3099, allocations: 0 / 0.4942 GB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.3099, allocations: 7.938 kB / 0.4942 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.31, allocations: 4 kB / 0.4942 GB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.3102, allocations: 313.4 kB / 0.4945 GB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3102, allocations: 0 / 0.4945 GB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.3104, allocations: 35.97 kB / 0.4945 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000216/0.3107, allocations: 68.81 kB / 0.4946 GB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.3107, allocations: 4 kB / 0.4946 GB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/0.3125, allocations: 1.561 MB / 0.4961 GB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3126, allocations: 0 / 0.4961 GB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.3139, allocations: 0.5014 MB / 0.4966 GB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.314, allocations: 88.95 kB / 0.4967 GB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.314, allocations: 15.94 kB / 0.4967 GB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.3142, allocations: 31.97 kB / 0.4967 GB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/0.3143, allocations: 19.97 kB / 0.4968 GB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.3143, allocations: 4.062 kB / 0.4968 GB, free: 6.617 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001716/0.3145, allocations: 190 kB / 0.4969 GB, free: 6.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3145, allocations: 0 / 0.4969 GB, free: 6.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003132/0.3148, allocations: 79.69 kB / 0.497 GB, free: 6.352 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.0001373/0.315, allocations: 115.2 kB / 0.4971 GB, free: 6.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009026/0.3159, allocations: 437.9 kB / 0.4975 GB, free: 5.777 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3159, allocations: 0 / 0.4975 GB, free: 5.777 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.3163, allocations: 231.1 kB / 0.4978 GB, free: 5.539 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.3166, allocations: 43.36 kB / 0.4978 GB, free: 5.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.32, allocations: 1.021 MB / 0.4988 GB, free: 4.453 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.3203, allocations: 0.7599 MB / 0.4995 GB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.3204, allocations: 26.28 kB / 0.4996 GB, free: 3.633 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.598e-05/0.3205, allocations: 19.44 kB / 0.4996 GB, free: 3.613 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3205, allocations: 0 / 0.4996 GB, free: 3.613 MB / 378.7 MB Notification: Performance of Templates: time 0.006127/0.3266, allocations: 3.22 MB / 0.5027 GB, free: 440 kB / 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/jenkins/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