Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001626, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 105.2 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 51.94 kB / 350.1 MB, free: 56 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3107, allocations: 49.43 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003303/0.3141, allocations: 2.641 MB / 402.1 MB, free: 30.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3151, allocations: 0.6539 MB / 402.8 MB, free: 30.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.3153, allocations: 4 kB / 402.8 MB, free: 30.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.3155, allocations: 39.69 kB / 402.8 MB, free: 30.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.3158, allocations: 71.45 kB / 402.9 MB, free: 29.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.3159, allocations: 67.94 kB / 403 MB, free: 29.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.3162, allocations: 302.6 kB / 403.3 MB, free: 29.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.3164, allocations: 78.11 kB / 403.3 MB, free: 29.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.3165, allocations: 103.6 kB / 403.4 MB, free: 29.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.3166, allocations: 127.4 kB / 403.6 MB, free: 29.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.3167, allocations: 19.94 kB / 403.6 MB, free: 29.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.75e-05/0.3167, allocations: 20 kB / 403.6 MB, free: 29.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.896e-05/0.3168, allocations: 43.83 kB / 403.6 MB, free: 29.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.105e-05/0.3168, allocations: 127.3 kB / 403.8 MB, free: 29.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.3171, allocations: 276.5 kB / 404 MB, free: 28.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3171, allocations: 3.938 kB / 404 MB, free: 28.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3171, allocations: 0 / 404 MB, free: 28.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.3171, allocations: 0 / 404 MB, free: 28.79 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.0008369/0.3179, allocations: 0.5615 MB / 404.6 MB, free: 28.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.318, allocations: 8.031 kB / 404.6 MB, free: 28.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.318, allocations: 32.66 kB / 404.6 MB, free: 28.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.3183, allocations: 255.8 kB / 404.9 MB, free: 27.85 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.3183, allocations: 20.92 kB / 404.9 MB, free: 27.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.3183, allocations: 20.38 kB / 404.9 MB, free: 27.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.3187, allocations: 229.1 kB / 405.2 MB, free: 27.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3187, allocations: 0 / 405.2 MB, free: 27.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.3188, allocations: 12 kB / 405.2 MB, free: 27.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3188, allocations: 4 kB / 405.2 MB, free: 27.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.3191, allocations: 194.1 kB / 405.4 MB, free: 27.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.3203, allocations: 0.8968 MB / 406.3 MB, free: 26.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.3209, allocations: 214.7 kB / 406.5 MB, free: 26.19 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.3212, allocations: 125.6 kB / 406.6 MB, free: 26.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.3212, allocations: 0 / 406.6 MB, free: 26.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.3212, allocations: 38.55 kB / 406.6 MB, free: 26.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.022e-06/0.3212, allocations: 0 / 406.6 MB, free: 26.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001658/0.3229, allocations: 0.5607 MB / 407.2 MB, free: 25.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.3229, allocations: 55.41 kB / 407.2 MB, free: 25.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.3231, allocations: 227.1 kB / 407.5 MB, free: 25.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.3231, allocations: 29.7 kB / 407.5 MB, free: 25.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.3232, allocations: 171.8 kB / 407.7 MB, free: 24.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.3232, allocations: 55.2 kB / 407.7 MB, free: 24.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.3233, allocations: 45.64 kB / 407.8 MB, free: 24.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.982e-05/0.3234, allocations: 338.8 kB / 408.1 MB, free: 24.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.3235, allocations: 68.83 kB / 408.2 MB, free: 24.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.3237, allocations: 121.9 kB / 408.3 MB, free: 24.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.324, allocations: 185 kB / 408.5 MB, free: 24.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.324, allocations: 0 / 408.5 MB, free: 24.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007366/0.3247, allocations: 342 kB / 408.8 MB, free: 23.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3248, allocations: 4 kB / 408.8 MB, free: 23.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.3248, allocations: 8.031 kB / 408.8 MB, free: 23.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003439/0.3251, allocations: 76.73 kB / 408.9 MB, free: 23.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.3253, allocations: 39.98 kB / 408.9 MB, free: 23.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.3276, allocations: 1.822 MB / 410.7 MB, free: 21.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.3278, allocations: 27.73 kB / 410.8 MB, free: 21.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.3278, allocations: 8 kB / 410.8 MB, free: 21.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001131/0.3279, allocations: 144.2 kB / 410.9 MB, free: 21.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.133e-05/0.328, allocations: 99.39 kB / 411 MB, free: 21.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001312/0.3282, allocations: 149.9 kB / 411.2 MB, free: 21.17 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/0.3282, allocations: 0 / 411.2 MB, free: 21.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002652/0.3284, allocations: 212.2 kB / 411.4 MB, free: 20.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.3284, allocations: 16.11 kB / 411.4 MB, free: 20.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.3285, allocations: 4.125 kB / 411.4 MB, free: 20.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.872e-05/0.3285, allocations: 32.84 kB / 411.4 MB, free: 20.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.3287, allocations: 39.92 kB / 411.5 MB, free: 20.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005662/0.3293, allocations: 1.316 MB / 412.8 MB, free: 19.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.3294, allocations: 11.91 kB / 412.8 MB, free: 19.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3294, allocations: 4 kB / 412.8 MB, free: 19.39 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 7.887e-05/0.3295, allocations: 200.1 kB / 413 MB, free: 19.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.3295, allocations: 23.75 kB / 413 MB, free: 19.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.3296, allocations: 17.53 kB / 413 MB, free: 19.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3296, allocations: 12.05 kB / 413 MB, free: 19.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.3296, allocations: 0 / 413 MB, free: 19.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.3296, allocations: 0 / 413 MB, free: 19.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009145/0.3305, allocations: 0.6239 MB / 413.7 MB, free: 18.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3305, allocations: 0 / 413.7 MB, free: 18.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.3306, allocations: 27.98 kB / 413.7 MB, free: 18.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002341/0.3309, allocations: 68.81 kB / 413.8 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.331, allocations: 16.06 kB / 413.8 MB, free: 18.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.3327, allocations: 1.725 MB / 415.5 MB, free: 16.49 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3327, allocations: 7.969 kB / 415.5 MB, free: 16.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004646/0.3373, allocations: 3.733 MB / 419.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.3374, allocations: 104.9 kB / 419.3 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.3374, allocations: 0 / 419.3 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.3376, allocations: 23.92 kB / 419.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.3377, allocations: 11.98 kB / 419.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.3377, allocations: 4 kB / 419.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001078/0.3378, allocations: 168.5 kB / 419.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3378, allocations: 4.062 kB / 419.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006957/0.3385, allocations: 167.7 kB / 419.7 MB, free: 11.97 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 0.0001261/0.3386, allocations: 99.25 kB / 419.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009506/0.3396, allocations: 0.5337 MB / 420.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3396, allocations: 4 kB / 420.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.3398, allocations: 198.6 kB / 420.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.3403, allocations: 35.58 kB / 420.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.3414, allocations: 0.8682 MB / 421.4 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.3415, allocations: 0.752 MB / 422.2 MB, free: 9.367 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.3417, allocations: 25.94 kB / 422.2 MB, free: 9.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.3417, allocations: 19.44 kB / 422.2 MB, free: 9.32 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3417, allocations: 0 / 422.2 MB, free: 9.32 MB / 298.7 MB Notification: Performance of Templates: time 0.005713/0.3474, allocations: 3.467 MB / 425.7 MB, free: 5.871 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_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