Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001538/0.001538, allocations: 172.4 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.2 MB / 219.8 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 98.62 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.93e-05/3.965e-05, allocations: 4 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09063/0.09068, allocations: 47.57 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2994/0.3902, allocations: 77.64 MB / 447.7 MB, free: 15.63 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.3905, allocations: 73.95 kB / 447.7 MB, free: 15.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01151/0.402, allocations: 4.11 MB / 451.9 MB, free: 12.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4021, allocations: 0 / 451.9 MB, free: 12.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.914e-05/0.4021, allocations: 11.94 kB / 451.9 MB, free: 12.05 MB / 330.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.0006513/0.4027, allocations: 499.9 kB / 452.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4028, allocations: 12.03 kB / 452.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.613e-05/0.4029, allocations: 31.62 kB / 452.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.4032, allocations: 252.2 kB / 452.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.4032, allocations: 16.09 kB / 452.7 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.053e-05/0.4033, allocations: 26.33 kB / 452.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.4037, allocations: 208.2 kB / 452.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.4037, allocations: 2.078 kB / 452.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.4037, allocations: 6.688 kB / 452.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.4038, allocations: 8 kB / 452.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.404, allocations: 158.8 kB / 453.1 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.4057, allocations: 0.9626 MB / 454 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.4061, allocations: 175.7 kB / 454.2 MB, free: 9.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.4064, allocations: 99.7 kB / 454.3 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.4064, allocations: 11.95 kB / 454.3 MB, free: 9.844 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.4064, allocations: 30.56 kB / 454.3 MB, free: 9.805 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.4064, allocations: 0 / 454.3 MB, free: 9.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006099/0.4071, allocations: 237.1 kB / 454.6 MB, free: 9.602 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.4071, allocations: 55.41 kB / 454.6 MB, free: 9.535 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.4073, allocations: 208.8 kB / 454.8 MB, free: 9.355 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.4073, allocations: 29.52 kB / 454.8 MB, free: 9.324 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/0.4074, allocations: 159.2 kB / 455 MB, free: 9.188 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.4075, allocations: 50.77 kB / 455.1 MB, free: 9.145 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/0.4075, allocations: 7.938 kB / 455.1 MB, free: 9.141 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.4076, allocations: 334.6 kB / 455.4 MB, free: 8.812 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/0.4077, allocations: 43.25 kB / 455.4 MB, free: 8.785 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.4078, allocations: 101.9 kB / 455.5 MB, free: 8.688 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.758e-05/0.4079, allocations: 60.03 kB / 455.6 MB, free: 8.648 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.408, allocations: 0 / 455.6 MB, free: 8.648 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006137/0.4086, allocations: 302 kB / 455.9 MB, free: 8.391 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002914/0.4089, allocations: 0.6116 MB / 456.5 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4089, allocations: 4 kB / 456.5 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002657/0.4092, allocations: 56.2 kB / 456.6 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.4093, allocations: 35.92 kB / 456.6 MB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008367/0.4102, allocations: 0.6639 MB / 457.3 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.4104, allocations: 31.56 kB / 457.3 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.4104, allocations: 11.98 kB / 457.3 MB, free: 6.961 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.4104, allocations: 4 kB / 457.3 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002734/0.4107, allocations: 166.9 kB / 457.5 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.4107, allocations: 4 kB / 457.5 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.093e-05/0.4108, allocations: 20.73 kB / 457.5 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.4109, allocations: 47.59 kB / 457.5 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000926/0.4119, allocations: 1.305 MB / 458.8 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.412, allocations: 15.75 kB / 458.9 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.412, allocations: 12 kB / 458.9 MB, free: 5.363 MB / 330.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 () * 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 9.493e-05/0.4121, allocations: 116.7 kB / 459 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.4122, allocations: 19.81 kB / 459 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.4122, allocations: 24.95 kB / 459 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4122, allocations: 4.062 kB / 459 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.4122, allocations: 0 / 459 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4122, allocations: 4 kB / 459 MB, free: 5.203 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009568/0.4132, allocations: 0.5978 MB / 459.6 MB, free: 4.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4132, allocations: 0 / 459.6 MB, free: 4.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.4133, allocations: 23.98 kB / 459.7 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001345/0.4135, allocations: 52.08 kB / 459.7 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.4135, allocations: 3.625 kB / 459.7 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/0.4155, allocations: 1.759 MB / 461.5 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4155, allocations: 3.938 kB / 461.5 MB, free: 2.758 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006192/0.4162, allocations: 396.1 kB / 461.9 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.4162, allocations: 100.8 kB / 462 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.4163, allocations: 3.938 kB / 462 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.4165, allocations: 28.05 kB / 462 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.4165, allocations: 7.984 kB / 462 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.4165, allocations: 11.98 kB / 462 MB, free: 2.184 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001378/0.4167, allocations: 155.2 kB / 462.2 MB, free: 2.031 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4167, allocations: 0 / 462.2 MB, free: 2.031 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000446/0.4171, allocations: 111.7 kB / 462.3 MB, free: 1.922 MB / 330.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.0001435/0.4173, allocations: 111.2 kB / 462.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00088/0.4182, allocations: 419.2 kB / 462.8 MB, free: 1.383 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4182, allocations: 0 / 462.8 MB, free: 1.383 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005305/0.4187, allocations: 263.1 kB / 463 MB, free: 1.113 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.419, allocations: 36.61 kB / 463.1 MB, free: 1.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.4211, allocations: 0.672 MB / 463.7 MB, free: 388 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.4214, allocations: 0.7487 MB / 464.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.4216, allocations: 34.05 kB / 464.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.4216, allocations: 15.44 kB / 464.5 MB, free: 15.55 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4216, allocations: 0 / 464.5 MB, free: 15.55 MB / 346.7 MB Notification: Performance of Templates: time 0.005734/0.4273, allocations: 2.841 MB / 467.4 MB, free: 12.72 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","../files/Modelica_3.2.3_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