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.0009711/0.0009711, allocations: 198.7 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.187/1.187, allocations: 227.2 MB / 245 MB, free: 7.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008804/0.0008804, allocations: 101.7 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002101/0.0002101, allocations: 8 kB / 357.9 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1931, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08613/0.2793, allocations: 79.77 MB / 489.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.2795, allocations: 71.97 kB / 489.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0111/0.2906, allocations: 4.334 MB / 493.6 MB, free: 6.465 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2907, allocations: 4 kB / 493.6 MB, free: 6.461 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.2907, allocations: 4 kB / 493.6 MB, free: 6.457 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007132/0.2914, allocations: 0.5184 MB / 494.1 MB, free: 5.891 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2914, allocations: 12.03 kB / 494.1 MB, free: 5.879 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.171e-05/0.2915, allocations: 23.72 kB / 494.2 MB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.2918, allocations: 259.2 kB / 494.4 MB, free: 5.562 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.2918, allocations: 16.91 kB / 494.4 MB, free: 5.547 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.2919, allocations: 35.89 kB / 494.5 MB, free: 5.512 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.2923, allocations: 212.9 kB / 494.7 MB, free: 5.293 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2923, allocations: 4 kB / 494.7 MB, free: 5.289 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.2924, allocations: 11.98 kB / 494.7 MB, free: 5.277 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2924, allocations: 4 kB / 494.7 MB, free: 5.273 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/0.2928, allocations: 198.1 kB / 494.9 MB, free: 5.082 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.2943, allocations: 0.9661 MB / 495.8 MB, free: 4.031 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005868/0.2949, allocations: 222.7 kB / 496.1 MB, free: 3.805 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.2949, allocations: 0 / 496.1 MB, free: 3.805 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.295, allocations: 42.52 kB / 496.1 MB, free: 3.754 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 4.087e-06/0.295, allocations: 0 / 496.1 MB, free: 3.754 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.00168/0.2967, allocations: 0.5921 MB / 496.7 MB, free: 3.137 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.2967, allocations: 59.34 kB / 496.8 MB, free: 3.066 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.2969, allocations: 202.3 kB / 497 MB, free: 2.863 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.2969, allocations: 25.7 kB / 497 MB, free: 2.832 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.297, allocations: 167.8 kB / 497.1 MB, free: 2.664 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.2971, allocations: 55.2 kB / 497.2 MB, free: 2.609 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.2971, allocations: 4 kB / 497.2 MB, free: 2.605 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2972, allocations: 334.8 kB / 497.5 MB, free: 2.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.2974, allocations: 67.97 kB / 497.6 MB, free: 2.203 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.2976, allocations: 117.9 kB / 497.7 MB, free: 2.066 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.2977, allocations: 74.22 kB / 497.8 MB, free: 1.996 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2978, allocations: 0 / 497.8 MB, free: 1.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00077/0.2985, allocations: 350.1 kB / 498.1 MB, free: 1.645 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002574/0.2988, allocations: 0.6171 MB / 498.7 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2988, allocations: 0 / 498.7 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003365/0.2992, allocations: 84.8 kB / 498.8 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.2993, allocations: 39.98 kB / 498.9 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009069/0.3002, allocations: 0.7045 MB / 499.6 MB, free: 128 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.3004, allocations: 35.88 kB / 499.6 MB, free: 92 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.3004, allocations: 8 kB / 499.6 MB, free: 84 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/0.3005, allocations: 4 kB / 499.6 MB, free: 80 kB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002872/0.3008, allocations: 175.3 kB / 499.8 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3008, allocations: 4 kB / 499.8 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.938e-05/0.3008, allocations: 21.03 kB / 499.8 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.301, allocations: 55.91 kB / 499.9 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009465/0.302, allocations: 1.316 MB / 0.4894 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.3021, allocations: 19.94 kB / 0.4895 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.3021, allocations: 8 kB / 0.4895 GB, free: 14.34 MB / 378.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001657/0.3023, allocations: 217 kB / 0.4897 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.3023, allocations: 15.81 kB / 0.4897 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.3024, allocations: 21.52 kB / 0.4897 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3024, allocations: 4 kB / 0.4897 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.3024, allocations: 0 / 0.4897 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3024, allocations: 0 / 0.4897 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.3027, allocations: 289.4 kB / 0.49 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3027, allocations: 0 / 0.49 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.3029, allocations: 23.98 kB / 0.49 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002621/0.3031, allocations: 80.86 kB / 0.4901 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.3032, allocations: 8 kB / 0.4901 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002191/0.3054, allocations: 1.783 MB / 0.4918 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3054, allocations: 0 / 0.4918 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008778/0.3063, allocations: 459.9 kB / 0.4923 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.621e-05/0.3063, allocations: 96.94 kB / 0.4924 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.3064, allocations: 7.953 kB / 0.4924 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.3066, allocations: 23.98 kB / 0.4924 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.468e-05/0.3066, allocations: 12.05 kB / 0.4924 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.3066, allocations: 7.938 kB / 0.4924 GB, free: 11.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001347/0.3068, allocations: 160.6 kB / 0.4926 GB, free: 10.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3068, allocations: 3.938 kB / 0.4926 GB, free: 10.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004793/0.3072, allocations: 119.7 kB / 0.4927 GB, free: 10.81 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001743/0.3074, allocations: 107.2 kB / 0.4928 GB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009868/0.3084, allocations: 450.3 kB / 0.4932 GB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3084, allocations: 0.75 kB / 0.4932 GB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002823/0.3087, allocations: 209.8 kB / 0.4934 GB, free: 10.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.309, allocations: 32.59 kB / 0.4934 GB, free: 9.992 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008442/0.3098, allocations: 0.597 MB / 0.494 GB, free: 9.371 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.3101, allocations: 0.7523 MB / 0.4948 GB, free: 8.586 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.982e-05/0.3103, allocations: 17.95 kB / 0.4948 GB, free: 8.566 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.3103, allocations: 19.44 kB / 0.4948 GB, free: 8.547 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3103, allocations: 0 / 0.4948 GB, free: 8.547 MB / 378.7 MB Notification: Performance of Templates: time 0.004931/0.3152, allocations: 2.574 MB / 0.4973 GB, free: 5.996 MB / 378.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.simplifiedExpr,opAmp.strict,opAmp.useSupply,opAmp.vns,opAmp.vps,r.R,r.T,r.T_heatPort,r.T_ref,r.alpha,r1.R,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r2.R,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,time,vOut.v