Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [: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 trunk/package.mo): time 0.0009923/0.0009923, allocations: 203 kB / 8.543 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.184/1.184, allocations: 225.5 MB / 234.4 MB, free: 3.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008458/0.0008455, allocations: 88.64 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.372e-06/6.392e-06, allocations: 0 / 343.1 MB, free: 8.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09496/0.09498, allocations: 51.48 MB / 394.6 MB, free: 5.188 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2318/0.3268, allocations: 79.12 MB / 473.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.3271, allocations: 75.8 kB / 473.8 MB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01048/0.3376, allocations: 4.263 MB / 478.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.3376, allocations: 12 kB / 478.1 MB, free: 10.66 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0005424/0.3382, allocations: 0.5049 MB / 478.6 MB, free: 10.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.3382, allocations: 12.03 kB / 478.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.189e-05/0.3383, allocations: 31.62 kB / 478.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.3385, allocations: 255 kB / 478.9 MB, free: 9.816 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.3386, allocations: 15.84 kB / 478.9 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.3386, allocations: 12 kB / 478.9 MB, free: 9.789 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000251/0.3389, allocations: 159 kB / 479.1 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.3392, allocations: 213 kB / 479.3 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3392, allocations: 0 / 479.3 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.3392, allocations: 0 / 479.3 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.3392, allocations: 4 kB / 479.3 MB, free: 9.527 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.3406, allocations: 0.9793 MB / 480.3 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.3408, allocations: 88.77 kB / 480.4 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.3411, allocations: 139.7 kB / 480.5 MB, free: 8.469 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.3411, allocations: 1.125 kB / 480.5 MB, free: 8.469 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.3411, allocations: 37.69 kB / 480.5 MB, free: 8.426 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.3411, allocations: 0 / 480.5 MB, free: 8.426 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005614/0.3417, allocations: 240.1 kB / 480.8 MB, free: 8.215 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.3417, allocations: 55.41 kB / 480.8 MB, free: 8.148 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.3419, allocations: 180.3 kB / 481 MB, free: 7.996 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.3419, allocations: 25.7 kB / 481 MB, free: 7.965 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.342, allocations: 165.2 kB / 481.2 MB, free: 7.809 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.342, allocations: 62.16 kB / 481.2 MB, free: 7.754 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.926e-06/0.342, allocations: 0 / 481.2 MB, free: 7.754 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.509e-05/0.3421, allocations: 325.7 kB / 481.6 MB, free: 7.434 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.448e-05/0.3421, allocations: 48 kB / 481.6 MB, free: 7.406 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.023e-05/0.3422, allocations: 102.6 kB / 481.7 MB, free: 7.305 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.68e-05/0.3423, allocations: 63.84 kB / 481.8 MB, free: 7.262 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3423, allocations: 0 / 481.8 MB, free: 7.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005342/0.3429, allocations: 299.5 kB / 482.1 MB, free: 7.012 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.3429, allocations: 7.906 kB / 482.1 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3429, allocations: 3.828 kB / 482.1 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002046/0.3431, allocations: 51.08 kB / 482.1 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.3433, allocations: 56.45 kB / 482.2 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.3447, allocations: 1.609 MB / 483.8 MB, free: 5.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.3449, allocations: 27.73 kB / 483.8 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.3449, allocations: 8 kB / 483.8 MB, free: 5.273 MB / 346.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: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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.993e-05/0.345, allocations: 114 kB / 483.9 MB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.3451, allocations: 15.88 kB / 484 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/0.3451, allocations: 25.33 kB / 484 MB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3452, allocations: 7.906 kB / 484 MB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.3452, allocations: 3.938 kB / 484 MB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3452, allocations: 0 / 484 MB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007335/0.3459, allocations: 0.5542 MB / 484.5 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3459, allocations: 3.984 kB / 484.5 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.3461, allocations: 27.98 kB / 484.6 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/0.3462, allocations: 55.31 kB / 484.6 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.3462, allocations: 3.984 kB / 484.6 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/0.348, allocations: 1.73 MB / 486.4 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.348, allocations: 0 / 486.4 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000543/0.3485, allocations: 400.4 kB / 486.8 MB, free: 2.465 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.3486, allocations: 96.97 kB / 486.8 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.3486, allocations: 3.312 kB / 486.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.3488, allocations: 24.05 kB / 486.9 MB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.3489, allocations: 7.984 kB / 486.9 MB, free: 2.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.3489, allocations: 4 kB / 486.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.963e-05/0.349, allocations: 154.5 kB / 487 MB, free: 2.191 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003976/0.3494, allocations: 71.69 kB / 487.1 MB, free: 2.121 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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.0001441/0.3495, allocations: 107.2 kB / 487.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003741/0.3499, allocations: 240.5 kB / 487.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3499, allocations: 0 / 487.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004654/0.3504, allocations: 248.1 kB / 487.7 MB, free: 1.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.3507, allocations: 22.8 kB / 487.7 MB, free: 1.555 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.3527, allocations: 0.766 MB / 488.5 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.353, allocations: 0.7709 MB / 489.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.353, allocations: 0 / 489.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of Templates: time 0.005651/0.3586, allocations: 2.581 MB / 491.8 MB, free: 13.48 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches