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.001745/0.001745, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009679/0.0009677, allocations: 96.67 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009346/0.0009347, allocations: 51.91 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2077, allocations: 50.45 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002785/0.2105, allocations: 2.654 MB / 409.7 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008038/0.2114, allocations: 0.6956 MB / 410.4 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.2115, allocations: 7.938 kB / 410.4 MB, free: 24.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.2116, allocations: 35.75 kB / 410.5 MB, free: 24.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.2118, allocations: 71.45 kB / 410.5 MB, free: 24.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.2119, allocations: 70.77 kB / 410.6 MB, free: 24.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.2121, allocations: 302.6 kB / 410.9 MB, free: 23.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.2123, allocations: 81.48 kB / 411 MB, free: 23.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.333e-05/0.2124, allocations: 103.6 kB / 411.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.2125, allocations: 123.4 kB / 411.2 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.2125, allocations: 20 kB / 411.2 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.544e-05/0.2125, allocations: 16 kB / 411.2 MB, free: 23.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.704e-05/0.2126, allocations: 51.81 kB / 411.3 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.497e-05/0.2127, allocations: 127.3 kB / 411.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.2128, allocations: 276.5 kB / 411.7 MB, free: 23.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2129, allocations: 0 / 411.7 MB, free: 23.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.2129, allocations: 0 / 411.7 MB, free: 23.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.2129, allocations: 0 / 411.7 MB, free: 23.2 MB / 298.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.000697/0.2136, allocations: 0.5654 MB / 412.2 MB, free: 22.58 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.2136, allocations: 8.594 kB / 412.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.2137, allocations: 28.66 kB / 412.3 MB, free: 22.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.2139, allocations: 255.8 kB / 412.5 MB, free: 22.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.2139, allocations: 24.94 kB / 412.5 MB, free: 22.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.2139, allocations: 20.38 kB / 412.6 MB, free: 22.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.2143, allocations: 229.1 kB / 412.8 MB, free: 21.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.2143, allocations: 0 / 412.8 MB, free: 21.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.2143, allocations: 12 kB / 412.8 MB, free: 21.97 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2143, allocations: 4 kB / 412.8 MB, free: 21.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.2147, allocations: 190.2 kB / 413 MB, free: 21.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.2158, allocations: 0.8967 MB / 413.9 MB, free: 20.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005221/0.2163, allocations: 218.7 kB / 414.1 MB, free: 20.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.2166, allocations: 129.3 kB / 414.2 MB, free: 20.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.2166, allocations: 7.938 kB / 414.2 MB, free: 20.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/0.2166, allocations: 34.56 kB / 414.3 MB, free: 20.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.2166, allocations: 3.938 kB / 414.3 MB, free: 20.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001607/0.2182, allocations: 0.5584 MB / 414.8 MB, free: 19.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.638e-05/0.2183, allocations: 51.41 kB / 414.9 MB, free: 19.76 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.2184, allocations: 231 kB / 415.1 MB, free: 19.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.2184, allocations: 25.7 kB / 415.1 MB, free: 19.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.2185, allocations: 163.8 kB / 415.3 MB, free: 19.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.2185, allocations: 67.11 kB / 415.4 MB, free: 19.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.2186, allocations: 41.72 kB / 415.4 MB, free: 19.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.2186, allocations: 330.8 kB / 415.7 MB, free: 18.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.2188, allocations: 68.83 kB / 415.8 MB, free: 18.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.2189, allocations: 111.5 kB / 415.9 MB, free: 18.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.2192, allocations: 184.3 kB / 416.1 MB, free: 18.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2192, allocations: 0 / 416.1 MB, free: 18.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007201/0.2199, allocations: 342 kB / 416.4 MB, free: 18.13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.22, allocations: 6.969 kB / 416.4 MB, free: 18.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.22, allocations: 4 kB / 416.4 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003016/0.2203, allocations: 84.77 kB / 416.5 MB, free: 18.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.2204, allocations: 39.97 kB / 416.5 MB, free: 18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.2226, allocations: 1.822 MB / 418.4 MB, free: 16.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.2228, allocations: 27.75 kB / 418.4 MB, free: 16.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.2228, allocations: 8 kB / 418.4 MB, free: 16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001041/0.2229, allocations: 144.1 kB / 418.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.73e-05/0.223, allocations: 106.3 kB / 418.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001302/0.2231, allocations: 144.5 kB / 418.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.2231, allocations: 4 kB / 418.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002539/0.2234, allocations: 214.1 kB / 419 MB, free: 15.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.572e-06/0.2234, allocations: 7.938 kB / 419 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-06/0.2234, allocations: 4.188 kB / 419 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.225e-05/0.2235, allocations: 28.84 kB / 419 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.2236, allocations: 39.92 kB / 419.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005129/0.2242, allocations: 1.319 MB / 420.4 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.2243, allocations: 11.91 kB / 420.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.2243, allocations: 12 kB / 420.4 MB, free: 13.79 MB / 298.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.2244, allocations: 200 kB / 420.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.2244, allocations: 15.81 kB / 420.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.2244, allocations: 25.52 kB / 420.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2244, allocations: 7.938 kB / 420.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.2245, allocations: 4.062 kB / 420.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2245, allocations: 0 / 420.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008863/0.2253, allocations: 0.6265 MB / 421.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2254, allocations: 8.078 kB / 421.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.2255, allocations: 23.98 kB / 421.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.2257, allocations: 84.78 kB / 421.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.2257, allocations: 0 / 421.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/0.2274, allocations: 1.725 MB / 423.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2274, allocations: 3.938 kB / 423.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004519/0.2319, allocations: 3.726 MB / 426.9 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.232, allocations: 101 kB / 427 MB, free: 6.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.232, allocations: 4 kB / 427 MB, free: 6.746 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.2322, allocations: 23.92 kB / 427 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.2322, allocations: 11.98 kB / 427 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.2322, allocations: 4 kB / 427 MB, free: 6.707 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.707e-05/0.2323, allocations: 163.2 kB / 427.2 MB, free: 6.547 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2323, allocations: 0 / 427.2 MB, free: 6.547 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006575/0.233, allocations: 167.7 kB / 427.3 MB, free: 6.383 MB / 298.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 9.706e-05/0.2331, allocations: 103.2 kB / 427.4 MB, free: 6.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008909/0.234, allocations: 0.5387 MB / 428 MB, free: 5.711 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.234, allocations: 4.188 kB / 428 MB, free: 5.707 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.2342, allocations: 206.5 kB / 428.2 MB, free: 5.492 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.2346, allocations: 36.8 kB / 428.2 MB, free: 5.457 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009006/0.2356, allocations: 0.873 MB / 429.1 MB, free: 4.531 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.2357, allocations: 0.7521 MB / 429.8 MB, free: 3.754 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.478e-05/0.2358, allocations: 21.94 kB / 429.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.2358, allocations: 19.44 kB / 429.9 MB, free: 3.711 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2358, allocations: 0 / 429.9 MB, free: 3.711 MB / 298.7 MB Notification: Performance of Templates: time 0.005264/0.2411, allocations: 3.462 MB / 433.3 MB, free: 276 kB / 298.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@2/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.v_out,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