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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001154/0.001154, allocations: 195.4 kB / 8.539 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.191/1.191, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008879/0.0008883, allocations: 95.53 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.148e-05/1.151e-05, allocations: 4 kB / 343.2 MB, free: 8.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1075, allocations: 51.47 MB / 394.6 MB, free: 5.199 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2548/0.3624, allocations: 81.51 MB / 476.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.3627, allocations: 84.59 kB / 476.2 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01615/0.3788, allocations: 6.095 MB / 482.3 MB, free: 6.527 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.3789, allocations: 7.391 kB / 482.3 MB, free: 6.523 MB / 346.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.0009317/0.3798, allocations: 0.5968 MB / 482.9 MB, free: 5.898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.3798, allocations: 8.031 kB / 482.9 MB, free: 5.891 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.57e-05/0.3799, allocations: 31.62 kB / 483 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.3803, allocations: 285.8 kB / 483.2 MB, free: 5.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.3803, allocations: 8 kB / 483.2 MB, free: 5.562 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/0.3804, allocations: 17.12 kB / 483.3 MB, free: 5.547 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000326/0.3807, allocations: 170.1 kB / 483.4 MB, free: 5.453 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.3811, allocations: 229.3 kB / 483.6 MB, free: 5.277 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3811, allocations: 0 / 483.6 MB, free: 5.277 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.3811, allocations: 4.375 kB / 483.7 MB, free: 5.277 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.3812, allocations: 8 kB / 483.7 MB, free: 5.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.3831, allocations: 1.177 MB / 484.8 MB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.3834, allocations: 134 kB / 485 MB, free: 4.117 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.924e-05/0.3835, allocations: 58.56 kB / 485 MB, free: 4.082 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.3836, allocations: 0 / 485 MB, free: 4.082 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.3837, allocations: 116.4 kB / 485.1 MB, free: 3.977 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.3837, allocations: 1.406 kB / 485.1 MB, free: 3.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005514/0.3843, allocations: 205.2 kB / 485.3 MB, free: 3.797 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.3843, allocations: 85.05 kB / 485.4 MB, free: 3.699 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.3845, allocations: 211 kB / 485.6 MB, free: 3.527 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.3845, allocations: 29.7 kB / 485.7 MB, free: 3.492 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.3846, allocations: 181.1 kB / 485.8 MB, free: 3.324 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.3847, allocations: 37.83 kB / 485.9 MB, free: 3.293 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/0.3847, allocations: 4 kB / 485.9 MB, free: 3.289 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.746e-05/0.3847, allocations: 332.1 kB / 486.2 MB, free: 2.965 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.739e-05/0.3848, allocations: 53.67 kB / 486.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.385, allocations: 140.1 kB / 486.4 MB, free: 2.785 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.3851, allocations: 69.16 kB / 486.5 MB, free: 2.742 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3851, allocations: 0 / 486.5 MB, free: 2.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005831/0.3857, allocations: 289.3 kB / 486.7 MB, free: 2.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.3857, allocations: 4 kB / 486.7 MB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.3857, allocations: 5.031 kB / 486.8 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001425/0.3859, allocations: 28.67 kB / 486.8 MB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.3861, allocations: 71.39 kB / 486.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009746/0.3871, allocations: 1.317 MB / 488.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.3875, allocations: 63.73 kB / 488.2 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.3875, allocations: 11.44 kB / 488.2 MB, free: 0.9531 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: integrator.opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real 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 () * 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.0001161/0.3876, allocations: 116.9 kB / 488.4 MB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.3877, allocations: 23.72 kB / 488.4 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.3877, allocations: 23.33 kB / 488.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3877, allocations: 6.344 kB / 488.4 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.3877, allocations: 0 / 488.4 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3877, allocations: 0 / 488.4 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.3879, allocations: 268.6 kB / 488.7 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3879, allocations: 0 / 488.7 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.3882, allocations: 47.95 kB / 488.7 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7e-05/0.3882, allocations: 26.73 kB / 488.7 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.3883, allocations: 3.984 kB / 488.7 MB, free: 484 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.3893, allocations: 1.323 MB / 490.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3893, allocations: 0 / 490.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006088/0.39, allocations: 297.7 kB / 490.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.68e-05/0.39, allocations: 92.83 kB / 490.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.733e-05/0.3901, allocations: 13.8 kB / 490.5 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.3904, allocations: 40.03 kB / 490.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.3904, allocations: 15.97 kB / 490.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.3905, allocations: 7.938 kB / 490.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001529/0.3906, allocations: 167.6 kB / 490.7 MB, free: 14.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003516/0.391, allocations: 63.75 kB / 490.8 MB, free: 14.46 MB / 362.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) * 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.0001825/0.3912, allocations: 116 kB / 490.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004096/0.3916, allocations: 273.7 kB / 491.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3916, allocations: 0 / 491.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.3918, allocations: 155.7 kB / 491.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.3921, allocations: 34.69 kB / 491.3 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.3937, allocations: 0.5349 MB / 491.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004268/0.3942, allocations: 0.7783 MB / 492.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3942, allocations: 0 / 492.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of Templates: time 0.006936/0.4011, allocations: 3.081 MB / 495.7 MB, free: 9.617 MB / 362.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