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.00105/0.00105, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 226.5 MB / 245.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009255/0.0009255, allocations: 99.94 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003599, allocations: 8 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2528, allocations: 51.3 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.364, allocations: 79.7 MB / 489.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.3644, allocations: 79.95 kB / 489.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01269/0.3771, allocations: 4.324 MB / 493.5 MB, free: 7.387 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3771, allocations: 0 / 493.5 MB, free: 7.387 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.711e-05/0.3772, allocations: 15.92 kB / 493.5 MB, free: 7.371 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.0009785/0.3781, allocations: 0.5186 MB / 494 MB, free: 6.801 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.3782, allocations: 8.031 kB / 494 MB, free: 6.793 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.3783, allocations: 28.66 kB / 494.1 MB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.3788, allocations: 260.3 kB / 494.3 MB, free: 6.473 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.3788, allocations: 20.94 kB / 494.3 MB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.543e-05/0.3789, allocations: 20.38 kB / 494.4 MB, free: 6.434 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005388/0.3794, allocations: 225.4 kB / 494.6 MB, free: 6.207 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.3794, allocations: 192 / 494.6 MB, free: 6.207 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.3795, allocations: 15.94 kB / 494.6 MB, free: 6.191 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.3795, allocations: 4 kB / 494.6 MB, free: 6.188 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004479/0.3799, allocations: 190.2 kB / 494.8 MB, free: 6.004 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.3818, allocations: 0.97 MB / 495.8 MB, free: 4.949 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000641/0.3825, allocations: 214.7 kB / 496 MB, free: 4.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.3828, allocations: 136.7 kB / 496.1 MB, free: 4.594 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.3828, allocations: 0 / 496.1 MB, free: 4.594 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.3829, allocations: 42.5 kB / 496.1 MB, free: 4.543 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.3829, allocations: 0 / 496.1 MB, free: 4.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.00198/0.3849, allocations: 0.6239 MB / 496.8 MB, free: 3.891 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.3849, allocations: 63.33 kB / 496.8 MB, free: 3.816 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.3852, allocations: 223.1 kB / 497 MB, free: 3.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.3853, allocations: 29.7 kB / 497.1 MB, free: 3.555 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.3854, allocations: 167.9 kB / 497.2 MB, free: 3.387 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.3854, allocations: 47.2 kB / 497.3 MB, free: 3.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.282e-05/0.3855, allocations: 8 kB / 497.3 MB, free: 3.332 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3856, allocations: 326.8 kB / 497.6 MB, free: 3.004 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.3858, allocations: 71.95 kB / 497.7 MB, free: 2.934 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.386, allocations: 121.8 kB / 497.8 MB, free: 2.793 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.3864, allocations: 185.4 kB / 498 MB, free: 2.594 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.3864, allocations: 3.984 kB / 498 MB, free: 2.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009053/0.3873, allocations: 361.5 kB / 498.3 MB, free: 2.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.3874, allocations: 134.2 kB / 498.5 MB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3874, allocations: 0 / 498.5 MB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004116/0.3879, allocations: 96.78 kB / 498.6 MB, free: 1.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.388, allocations: 43.8 kB / 498.6 MB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003169/0.3912, allocations: 1.951 MB / 0.4888 GB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.3915, allocations: 27.94 kB / 0.4888 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.3915, allocations: 8 kB / 0.4889 GB, free: 15.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.3915, allocations: 4 kB / 0.4889 GB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003301/0.3919, allocations: 176.7 kB / 0.489 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3919, allocations: 0 / 0.489 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.682e-05/0.392, allocations: 29.03 kB / 0.4891 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.3921, allocations: 51.92 kB / 0.4891 GB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.3932, allocations: 1.311 MB / 0.4904 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.3934, allocations: 11.88 kB / 0.4904 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.3934, allocations: 12 kB / 0.4904 GB, free: 14.08 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 (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.0002284/0.3937, allocations: 209 kB / 0.4906 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.3937, allocations: 23.72 kB / 0.4906 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.839e-05/0.3938, allocations: 25.52 kB / 0.4907 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3938, allocations: 4 kB / 0.4907 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3938, allocations: 0 / 0.4907 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3938, allocations: 0 / 0.4907 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.3951, allocations: 0.6474 MB / 0.4913 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3951, allocations: 0 / 0.4913 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.3952, allocations: 28.12 kB / 0.4913 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000309/0.3956, allocations: 84.73 kB / 0.4914 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.3956, allocations: 3.984 kB / 0.4914 GB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00294/0.3985, allocations: 1.948 MB / 0.4933 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3986, allocations: 0 / 0.4933 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009847/0.3995, allocations: 462.8 kB / 0.4937 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.3997, allocations: 92.86 kB / 0.4938 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.3997, allocations: 4 kB / 0.4938 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.3999, allocations: 28.05 kB / 0.4939 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.4, allocations: 7.984 kB / 0.4939 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.4, allocations: 15.92 kB / 0.4939 GB, free: 10.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001805/0.4002, allocations: 156.6 kB / 0.494 GB, free: 10.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4002, allocations: 0 / 0.494 GB, free: 10.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006832/0.4009, allocations: 119.7 kB / 0.4942 GB, free: 10.01 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 (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.000261/0.4011, allocations: 119.1 kB / 0.4943 GB, free: 9.887 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.4024, allocations: 0.5524 MB / 0.4948 GB, free: 9.309 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4024, allocations: 0 / 0.4948 GB, free: 9.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005977/0.403, allocations: 282.6 kB / 0.4951 GB, free: 9.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.4036, allocations: 36.59 kB / 0.4951 GB, free: 8.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.4062, allocations: 0.9413 MB / 0.496 GB, free: 8.008 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.4067, allocations: 0.7485 MB / 0.4968 GB, free: 7.234 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.4069, allocations: 21.95 kB / 0.4968 GB, free: 7.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.4069, allocations: 15.44 kB / 0.4968 GB, free: 7.195 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4069, allocations: 0 / 0.4968 GB, free: 7.195 MB / 378.7 MB Notification: Performance of Templates: time 0.007734/0.4147, allocations: 2.862 MB / 0.4996 GB, free: 4.359 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/jenkins1/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