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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001055, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009334/0.0009334, allocations: 96.89 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.562e-05/1.552e-05, allocations: 4 kB / 343.7 MB, free: 8.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09088/0.09091, allocations: 51.48 MB / 395.2 MB, free: 4.707 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2876/0.3785, allocations: 79.02 MB / 474.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/0.3788, allocations: 79.86 kB / 474.3 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01053/0.3893, allocations: 4.298 MB / 478.6 MB, free: 10.42 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3894, allocations: 0 / 478.6 MB, free: 10.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.3894, allocations: 4 kB / 478.6 MB, free: 10.42 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.0006114/0.39, allocations: 0.4893 MB / 479.1 MB, free: 9.926 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3901, allocations: 8.031 kB / 479.1 MB, free: 9.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.077e-05/0.3901, allocations: 31.62 kB / 479.1 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.3904, allocations: 248 kB / 479.4 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.3905, allocations: 8 kB / 479.4 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.3905, allocations: 15.61 kB / 479.4 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002495/0.3908, allocations: 151.5 kB / 479.5 MB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.391, allocations: 165.1 kB / 479.7 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3911, allocations: 0 / 479.7 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.3911, allocations: 4 kB / 479.7 MB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.3911, allocations: 4 kB / 479.7 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.3924, allocations: 0.9133 MB / 480.6 MB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/0.3928, allocations: 156.7 kB / 480.8 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.393, allocations: 106.6 kB / 480.9 MB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.393, allocations: 4 kB / 480.9 MB, free: 8.344 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.393, allocations: 38.45 kB / 480.9 MB, free: 8.297 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.605e-06/0.393, allocations: 0 / 480.9 MB, free: 8.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005746/0.3936, allocations: 219 kB / 481.1 MB, free: 8.109 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.3937, allocations: 59.41 kB / 481.2 MB, free: 8.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.3938, allocations: 175.3 kB / 481.3 MB, free: 7.883 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.3939, allocations: 26.55 kB / 481.4 MB, free: 7.852 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.3939, allocations: 167.5 kB / 481.5 MB, free: 7.707 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.394, allocations: 54.16 kB / 481.6 MB, free: 7.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/0.394, allocations: 0 / 481.6 MB, free: 7.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.547e-05/0.3941, allocations: 329.3 kB / 481.9 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.49e-05/0.3941, allocations: 41.69 kB / 482 MB, free: 7.312 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.325e-05/0.3942, allocations: 92.06 kB / 482 MB, free: 7.223 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.587e-05/0.3943, allocations: 53.42 kB / 482.1 MB, free: 7.188 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3943, allocations: 0 / 482.1 MB, free: 7.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005197/0.3949, allocations: 281.6 kB / 482.4 MB, free: 6.949 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.395, allocations: 0.6111 MB / 483 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.395, allocations: 2.5 kB / 483 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/0.3952, allocations: 57.08 kB / 483 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.3954, allocations: 35.92 kB / 483.1 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003018/0.3957, allocations: 0.5964 MB / 483.7 MB, free: 5.629 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.3959, allocations: 19.88 kB / 483.7 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.3959, allocations: 8 kB / 483.7 MB, free: 5.602 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.232e-06/0.3959, allocations: 8.062 kB / 483.7 MB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002113/0.3961, allocations: 142 kB / 483.8 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-06/0.3961, allocations: 4 kB / 483.8 MB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.988e-05/0.3962, allocations: 20.28 kB / 483.9 MB, free: 5.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.3964, allocations: 47.36 kB / 483.9 MB, free: 5.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006114/0.397, allocations: 1.263 MB / 485.2 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.339e-05/0.3971, allocations: 15.81 kB / 485.2 MB, free: 4.086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3971, allocations: 8 kB / 485.2 MB, free: 4.078 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.0001281/0.3972, allocations: 121.2 kB / 485.3 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.3973, allocations: 19.75 kB / 485.3 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.3973, allocations: 20.84 kB / 485.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3973, allocations: 144 / 485.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.3973, allocations: 0 / 485.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3973, allocations: 7.969 kB / 485.4 MB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007271/0.3981, allocations: 0.5367 MB / 485.9 MB, free: 3.414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3981, allocations: 0 / 485.9 MB, free: 3.414 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.824e-05/0.3982, allocations: 27.98 kB / 485.9 MB, free: 3.387 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001096/0.3983, allocations: 51.09 kB / 486 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3983, allocations: 3.25 kB / 486 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.4, allocations: 1.711 MB / 487.7 MB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4, allocations: 0 / 487.7 MB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005244/0.4005, allocations: 368.7 kB / 488.1 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.4006, allocations: 92.94 kB / 488.1 MB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.4006, allocations: 4 kB / 488.1 MB, free: 1.227 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.4008, allocations: 15.98 kB / 488.2 MB, free: 1.211 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.4008, allocations: 19.38 kB / 488.2 MB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.4008, allocations: 0 / 488.2 MB, free: 1.195 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.923e-05/0.4009, allocations: 153.4 kB / 488.3 MB, free: 1.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4009, allocations: 0 / 488.3 MB, free: 1.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004584/0.4014, allocations: 115.5 kB / 488.4 MB, free: 0.957 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.0001366/0.4015, allocations: 103.2 kB / 488.5 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004408/0.402, allocations: 315.6 kB / 488.9 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.402, allocations: 0 / 488.9 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004481/0.4024, allocations: 263.5 kB / 489.1 MB, free: 360 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.4027, allocations: 19.05 kB / 489.1 MB, free: 344 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.4048, allocations: 0.6668 MB / 489.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.4052, allocations: 0.7562 MB / 490.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.4053, allocations: 25.84 kB / 490.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.4053, allocations: 15.44 kB / 490.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4053, allocations: 0 / 490.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of Templates: time 0.005529/0.4109, allocations: 2.539 MB / 493.1 MB, free: 12.37 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