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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 184 kB / 8.138 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.153/1.153, allocations: 221.4 MB / 229.9 MB, free: 3.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009768/0.0009767, allocations: 101.4 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.225e-06/8.325e-06, allocations: 4 kB / 336.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1947, allocations: 50.39 MB / 386.9 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08676/0.2815, allocations: 78.15 MB / 465.1 MB, free: 8.766 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.2818, allocations: 83.88 kB / 465.1 MB, free: 8.684 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0115/0.2933, allocations: 3.952 MB / 469.1 MB, free: 4.746 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.2934, allocations: 16 kB / 469.1 MB, free: 4.73 MB / 346.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.0005881/0.294, allocations: 0.4905 MB / 469.6 MB, free: 4.195 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.294, allocations: 8.875 kB / 469.6 MB, free: 4.188 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.928e-05/0.2941, allocations: 31.62 kB / 469.6 MB, free: 4.156 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.2944, allocations: 259 kB / 469.9 MB, free: 3.863 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.2944, allocations: 12 kB / 469.9 MB, free: 3.852 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.2944, allocations: 12 kB / 469.9 MB, free: 3.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002621/0.2947, allocations: 145 kB / 470.1 MB, free: 3.699 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.295, allocations: 163.1 kB / 470.2 MB, free: 3.531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.295, allocations: 0 / 470.2 MB, free: 3.531 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.295, allocations: 0 / 470.2 MB, free: 3.531 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.2951, allocations: 4.562 kB / 470.2 MB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.2965, allocations: 0.9224 MB / 471.1 MB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.2969, allocations: 150.7 kB / 471.3 MB, free: 2.375 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.2971, allocations: 115.1 kB / 471.4 MB, free: 2.262 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.2972, allocations: 0 / 471.4 MB, free: 2.262 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.2972, allocations: 40.48 kB / 471.4 MB, free: 2.215 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.2972, allocations: 0 / 471.4 MB, free: 2.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006132/0.2978, allocations: 229.7 kB / 471.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.2979, allocations: 55.31 kB / 471.7 MB, free: 1.918 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.298, allocations: 178.3 kB / 471.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.2981, allocations: 25.7 kB / 471.9 MB, free: 1.703 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.2981, allocations: 155.8 kB / 472.1 MB, free: 1.547 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.2982, allocations: 51.3 kB / 472.1 MB, free: 1.496 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-06/0.2982, allocations: 0 / 472.1 MB, free: 1.496 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.39e-05/0.2983, allocations: 334.7 kB / 472.5 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.45e-05/0.2984, allocations: 44 kB / 472.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.2985, allocations: 92.69 kB / 472.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.562e-05/0.2986, allocations: 58.83 kB / 472.6 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2986, allocations: 4 kB / 472.7 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005864/0.2992, allocations: 270.5 kB / 472.9 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001834/0.2994, allocations: 0.6122 MB / 473.5 MB, free: 16 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2994, allocations: 4 kB / 473.5 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000212/0.2996, allocations: 48.83 kB / 473.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.2998, allocations: 39.92 kB / 473.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004035/0.3002, allocations: 0.5959 MB / 474.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.3004, allocations: 23.83 kB / 474.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.3004, allocations: 8.062 kB / 474.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.211e-06/0.3004, allocations: 8.062 kB / 474.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002589/0.3007, allocations: 143.7 kB / 474.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/0.3007, allocations: 0 / 474.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.488e-05/0.3008, allocations: 24.84 kB / 474.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.3009, allocations: 45.36 kB / 474.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008568/0.3018, allocations: 1.257 MB / 475.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.3019, allocations: 11.84 kB / 475.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.302, allocations: 12.06 kB / 475.7 MB, free: 13.66 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real 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 0.0001142/0.3021, allocations: 109.9 kB / 475.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.3021, allocations: 16.62 kB / 475.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.3022, allocations: 22.44 kB / 475.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3022, allocations: 7.938 kB / 475.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.3022, allocations: 0 / 475.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3022, allocations: 0 / 475.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008347/0.303, allocations: 0.5463 MB / 476.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3031, allocations: 0 / 476.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.3032, allocations: 29.42 kB / 476.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001346/0.3033, allocations: 52.83 kB / 476.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.3034, allocations: 0 / 476.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/0.3054, allocations: 1.73 MB / 478.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3054, allocations: 3.938 kB / 478.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005885/0.306, allocations: 380 kB / 478.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.306, allocations: 92.92 kB / 478.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.3061, allocations: 8.922 kB / 478.7 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.3063, allocations: 19.92 kB / 478.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.3063, allocations: 4 kB / 478.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.3063, allocations: 8.062 kB / 478.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001076/0.3064, allocations: 146.7 kB / 478.9 MB, free: 10.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004876/0.3069, allocations: 107.7 kB / 479 MB, free: 10.19 MB / 362.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.0001374/0.3071, allocations: 107.2 kB / 479.1 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004944/0.3076, allocations: 314.6 kB / 479.4 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3076, allocations: 0 / 479.4 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000497/0.3081, allocations: 243.7 kB / 479.7 MB, free: 9.516 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.3083, allocations: 23.98 kB / 479.7 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.3104, allocations: 0.7021 MB / 480.4 MB, free: 8.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/0.3107, allocations: 0.7702 MB / 481.2 MB, free: 7.969 MB / 362.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3108, allocations: 0 / 481.2 MB, free: 7.969 MB / 362.7 MB Notification: Performance of Templates: time 0.005998/0.3168, allocations: 3.054 MB / 484.2 MB, free: 4.953 MB / 362.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/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.strict,opAmp.useSupply,r.R,r.T,r.T_ref,r.alpha,r1.R,r1.T,r1.T_ref,r1.alpha,r2.R,r2.T,r2.T_ref,r2.alpha,time,vOut.v