Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") [: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.001592/0.001592, allocations: 195.8 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 225.5 MB / 234.4 MB, free: 3.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008325/0.0008325, allocations: 88.97 kB / 286.3 MB, free: 5.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/8.176e-06, allocations: 0 / 343.1 MB, free: 8.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08418/0.08421, allocations: 51.49 MB / 394.6 MB, free: 5.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2164/0.3006, allocations: 78.95 MB / 473.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/0.3009, allocations: 73.28 kB / 473.7 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01021/0.3111, allocations: 4.02 MB / 477.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.3111, allocations: 8 kB / 477.7 MB, free: 10.7 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006209/0.3118, allocations: 0.4905 MB / 478.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3118, allocations: 8.031 kB / 478.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.096e-05/0.3119, allocations: 32.14 kB / 478.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.3123, allocations: 249.2 kB / 478.5 MB, free: 9.926 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.3123, allocations: 8 kB / 478.5 MB, free: 9.918 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.3123, allocations: 16 kB / 478.5 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002676/0.3126, allocations: 142.7 kB / 478.6 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.3129, allocations: 168 kB / 478.8 MB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3129, allocations: 0 / 478.8 MB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.3129, allocations: 0 / 478.8 MB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.313, allocations: 4.609 kB / 478.8 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.3144, allocations: 0.9287 MB / 479.7 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/0.3148, allocations: 150.9 kB / 479.9 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.315, allocations: 115.8 kB / 480 MB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.3151, allocations: 0 / 480 MB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.3151, allocations: 38.55 kB / 480 MB, free: 8.633 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.3151, allocations: 0 / 480 MB, free: 8.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006256/0.3158, allocations: 217.2 kB / 480.2 MB, free: 8.441 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.3158, allocations: 58.59 kB / 480.3 MB, free: 8.375 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.3159, allocations: 168.6 kB / 480.5 MB, free: 8.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.316, allocations: 25.7 kB / 480.5 MB, free: 8.191 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.316, allocations: 159.1 kB / 480.6 MB, free: 8.043 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.3161, allocations: 50.98 kB / 480.7 MB, free: 8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.3161, allocations: 0 / 480.7 MB, free: 8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.48e-05/0.3161, allocations: 330.3 kB / 481 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.783e-05/0.3162, allocations: 47.23 kB / 481.1 MB, free: 7.648 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.54e-05/0.3163, allocations: 93.06 kB / 481.1 MB, free: 7.555 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.182e-05/0.3164, allocations: 55.34 kB / 481.2 MB, free: 7.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3164, allocations: 4 kB / 481.2 MB, free: 7.516 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005306/0.3169, allocations: 273.6 kB / 481.5 MB, free: 7.285 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.317, allocations: 0.6091 MB / 482.1 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3171, allocations: 4 kB / 482.1 MB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/0.3173, allocations: 57.27 kB / 482.1 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.3174, allocations: 35.92 kB / 482.2 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003256/0.3178, allocations: 0.595 MB / 482.8 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.318, allocations: 23.83 kB / 482.8 MB, free: 5.945 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.318, allocations: 15.16 kB / 482.8 MB, free: 5.934 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.6e-06/0.318, allocations: 4 kB / 482.8 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002199/0.3182, allocations: 142.7 kB / 483 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.3182, allocations: 3.938 kB / 483 MB, free: 5.816 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.635e-05/0.3183, allocations: 35.39 kB / 483 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.3185, allocations: 39.98 kB / 483 MB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007134/0.3192, allocations: 1.259 MB / 484.3 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.3193, allocations: 7.906 kB / 484.3 MB, free: 4.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.3193, allocations: 12.06 kB / 484.3 MB, free: 4.406 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.3195, allocations: 112.8 kB / 484.4 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.3195, allocations: 19.81 kB / 484.4 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.829e-05/0.3196, allocations: 24.06 kB / 484.5 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3196, allocations: 0 / 484.5 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.3196, allocations: 0 / 484.5 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3196, allocations: 1.312 kB / 484.5 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007758/0.3204, allocations: 0.5402 MB / 485 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3204, allocations: 3.375 kB / 485 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.3205, allocations: 27.92 kB / 485 MB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001293/0.3206, allocations: 51.27 kB / 485.1 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3207, allocations: 0 / 485.1 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.3224, allocations: 1.732 MB / 486.8 MB, free: 1.949 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3225, allocations: 3.906 kB / 486.8 MB, free: 1.945 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005236/0.323, allocations: 384.1 kB / 487.2 MB, free: 1.613 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.3231, allocations: 97 kB / 487.3 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.3231, allocations: 0 / 487.3 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.3233, allocations: 23.97 kB / 487.3 MB, free: 1.477 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.3234, allocations: 3.438 kB / 487.3 MB, free: 1.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.3234, allocations: 4.562 kB / 487.3 MB, free: 1.473 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.191e-05/0.3235, allocations: 152.9 kB / 487.5 MB, free: 1.348 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004827/0.324, allocations: 107.6 kB / 487.6 MB, free: 1.242 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001277/0.3241, allocations: 103.2 kB / 487.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004885/0.3246, allocations: 316.2 kB / 488 MB, free: 0.875 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3246, allocations: 0 / 488 MB, free: 0.875 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004821/0.3251, allocations: 256 kB / 488.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.3254, allocations: 23.09 kB / 488.3 MB, free: 0.625 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.3275, allocations: 0.6999 MB / 489 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/0.3278, allocations: 0.7625 MB / 489.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3279, allocations: 0 / 489.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of Templates: time 0.006663/0.3345, allocations: 3.057 MB / 492.8 MB, free: 12.14 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,c.v,opAmp.out.v,opAmp.out.i Variables in the result:C,R,R1,R2,Vns,Vps,c.C,c.v,f,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.homotopyType,opAmp.out.i,opAmp.out.v,opAmp.strict,opAmp.useSupply,r.R,r.T,r.T_ref,r.alpha,r1.R,r1.T,r1.T_ref,r1.alpha,r2.R,r2.T,r2.T_ref,r2.alpha,time,vOut.v