Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0009419/0.000942, allocations: 178.2 kB / 8.476 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.122/1.122, allocations: 205.2 MB / 214.1 MB, free: 1.793 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008415/0.0008415, allocations: 79.39 kB / 262.1 MB, free: 1.742 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.003e-06, allocations: 4 kB / 315 MB, free: 22.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08316/0.08318, allocations: 47.59 MB / 362.6 MB, free: 7.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.233/0.3163, allocations: 77.3 MB / 439.9 MB, free: 2.129 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.3166, allocations: 76.11 kB / 439.9 MB, free: 2.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01124/0.3278, allocations: 4.092 MB / 444 MB, free: 14.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.3279, allocations: 8.766 kB / 444 MB, free: 14.67 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006773/0.3286, allocations: 0.5244 MB / 444.6 MB, free: 14.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3286, allocations: 8.031 kB / 444.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.785e-05/0.3287, allocations: 31.62 kB / 444.6 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.3291, allocations: 248.3 kB / 444.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3291, allocations: 11.91 kB / 444.9 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.3291, allocations: 22.08 kB / 444.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000319/0.3295, allocations: 169 kB / 445 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.3298, allocations: 183.3 kB / 445.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3298, allocations: 0 / 445.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.3299, allocations: 0 / 445.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.3299, allocations: 7.984 kB / 445.2 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.3315, allocations: 0.8919 MB / 446.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.3319, allocations: 106.8 kB / 446.2 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.3322, allocations: 152.7 kB / 446.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.3322, allocations: 0 / 446.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.3323, allocations: 34.56 kB / 446.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.032e-06/0.3323, allocations: 0 / 446.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.000602/0.3329, allocations: 213.5 kB / 446.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.333, allocations: 55.41 kB / 446.7 MB, free: 12.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.3332, allocations: 186.1 kB / 446.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.3332, allocations: 25.7 kB / 446.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.546e-05/0.3333, allocations: 167.7 kB / 447 MB, free: 11.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.3333, allocations: 60.36 kB / 447.1 MB, free: 11.85 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/0.3334, allocations: 0 / 447.1 MB, free: 11.85 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.3335, allocations: 329.5 kB / 447.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.989e-05/0.3336, allocations: 46.12 kB / 447.5 MB, free: 11.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.3337, allocations: 104.2 kB / 447.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.782e-05/0.3338, allocations: 57.22 kB / 447.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3338, allocations: 0 / 447.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005487/0.3343, allocations: 282.6 kB / 447.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002202/0.3346, allocations: 0.6149 MB / 448.5 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3346, allocations: 4.562 kB / 448.5 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002325/0.3348, allocations: 51.27 kB / 448.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.335, allocations: 51.59 kB / 448.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004438/0.3355, allocations: 0.6107 MB / 449.2 MB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.3356, allocations: 20.66 kB / 449.3 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.3357, allocations: 11.91 kB / 449.3 MB, free: 9.742 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.43e-06/0.3357, allocations: 7.938 kB / 449.3 MB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002943/0.336, allocations: 179 kB / 449.4 MB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.336, allocations: 0 / 449.4 MB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001072/0.3361, allocations: 47.2 kB / 449.5 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.3363, allocations: 43.92 kB / 449.5 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.3375, allocations: 1.527 MB / 451.1 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.3376, allocations: 15.78 kB / 451.1 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.3377, allocations: 11 kB / 451.1 MB, free: 7.973 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.simplifiedExpr:VARIABLE(unit = "V" protected = true ) "Simplified expression for homotopy-based initialization" 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 (23): * Single equations (assignments): 22 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.3378, allocations: 113 kB / 451.2 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.3379, allocations: 23.72 kB / 451.2 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.629e-05/0.3379, allocations: 22.22 kB / 451.2 MB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3379, allocations: 4 kB / 451.2 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.3379, allocations: 4.062 kB / 451.3 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3379, allocations: 3.984 kB / 451.3 MB, free: 7.812 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000732/0.3387, allocations: 0.5488 MB / 451.8 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3387, allocations: 0 / 451.8 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.3388, allocations: 27.98 kB / 451.8 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001409/0.339, allocations: 55.7 kB / 451.9 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.339, allocations: 0 / 451.9 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/0.3404, allocations: 1.626 MB / 453.5 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3405, allocations: 0 / 453.5 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005007/0.341, allocations: 378 kB / 453.9 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.341, allocations: 96.92 kB / 454 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.3411, allocations: 8.062 kB / 454 MB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.3413, allocations: 15.98 kB / 454 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.3413, allocations: 15.55 kB / 454 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.3413, allocations: 4 kB / 454 MB, free: 5.141 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001057/0.3414, allocations: 144.2 kB / 454.2 MB, free: 5.023 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005069/0.3419, allocations: 119.6 kB / 454.3 MB, free: 4.906 MB / 330.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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002085/0.3422, allocations: 107.2 kB / 454.4 MB, free: 4.789 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005727/0.3427, allocations: 350.5 kB / 454.7 MB, free: 4.504 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/0.3428, allocations: 4.25 kB / 454.7 MB, free: 4.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.343, allocations: 174.5 kB / 454.9 MB, free: 4.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.3432, allocations: 22.67 kB / 454.9 MB, free: 4.324 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.3448, allocations: 0.6674 MB / 455.6 MB, free: 3.656 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/0.3451, allocations: 0.7712 MB / 456.4 MB, free: 2.859 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3451, allocations: 0 / 456.4 MB, free: 2.859 MB / 330.7 MB Notification: Performance of Templates: time 0.006568/0.3516, allocations: 3.418 MB / 459.8 MB, free: 15.45 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches