Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002282/0.002281, allocations: 170.3 kB / 8.147 MB, free: 2.145 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.709/1.709, allocations: 205.2 MB / 213.7 MB, free: 13.95 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001288/0.001288, allocations: 94.17 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.444e-05/1.461e-05, allocations: 4 kB / 314.3 MB, free: 9.051 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2442, allocations: 47.56 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.366, allocations: 77.04 MB / 438.9 MB, free: 9.027 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.3663, allocations: 76.64 kB / 439 MB, free: 8.957 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0199/0.3862, allocations: 4.096 MB / 443.1 MB, free: 4.883 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.32e-05/0.3863, allocations: 4 kB / 443.1 MB, free: 4.879 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.001183/0.3875, allocations: 0.518 MB / 443.6 MB, free: 4.316 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.3876, allocations: 8.031 kB / 443.6 MB, free: 4.309 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.3877, allocations: 31.62 kB / 443.6 MB, free: 4.277 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005232/0.3883, allocations: 255.1 kB / 443.9 MB, free: 3.988 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.3883, allocations: 11.91 kB / 443.9 MB, free: 3.977 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.819e-05/0.3884, allocations: 16 kB / 443.9 MB, free: 3.961 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005825/0.389, allocations: 166 kB / 444.1 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005551/0.3895, allocations: 187.1 kB / 444.2 MB, free: 3.613 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.3896, allocations: 0 / 444.2 MB, free: 3.613 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.3896, allocations: 0 / 444.2 MB, free: 3.613 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.3896, allocations: 8 kB / 444.2 MB, free: 3.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002623/0.3923, allocations: 0.8944 MB / 445.1 MB, free: 2.652 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004772/0.3928, allocations: 107.6 kB / 445.2 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/0.3934, allocations: 136.8 kB / 445.4 MB, free: 2.406 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.3934, allocations: 11.5 kB / 445.4 MB, free: 2.398 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.3934, allocations: 34.56 kB / 445.4 MB, free: 2.355 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 3.085e-06/0.3935, allocations: 0 / 445.4 MB, free: 2.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009493/0.3944, allocations: 219.5 kB / 445.6 MB, free: 2.133 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.3945, allocations: 55.41 kB / 445.7 MB, free: 2.066 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.3948, allocations: 189.9 kB / 445.9 MB, free: 1.875 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.3949, allocations: 25.7 kB / 445.9 MB, free: 1.844 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.395, allocations: 218.2 kB / 446.1 MB, free: 1.625 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.977e-05/0.3951, allocations: 63.09 kB / 446.2 MB, free: 1.562 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.392e-05/0.3951, allocations: 0 / 446.2 MB, free: 1.562 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3953, allocations: 322.8 kB / 446.5 MB, free: 1.238 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.3955, allocations: 44 kB / 446.5 MB, free: 1.195 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.3957, allocations: 102.5 kB / 446.6 MB, free: 1.074 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.3959, allocations: 62.41 kB / 446.7 MB, free: 1.016 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3959, allocations: 7.938 kB / 446.7 MB, free: 1.008 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001032/0.397, allocations: 266.9 kB / 447 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000389/0.3974, allocations: 0.6082 MB / 447.6 MB, free: 88 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.3974, allocations: 6.562 kB / 447.6 MB, free: 84 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003679/0.3978, allocations: 56.83 kB / 447.6 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.3982, allocations: 36.03 kB / 447.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.3995, allocations: 0.6936 MB / 448.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.3998, allocations: 27.69 kB / 448.4 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.3998, allocations: 4 kB / 448.4 MB, free: 15.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3999, allocations: 4 kB / 448.4 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005904/0.4005, allocations: 182.2 kB / 448.6 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4005, allocations: 1.328 kB / 448.6 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002035/0.4007, allocations: 48.73 kB / 448.6 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.4011, allocations: 51.91 kB / 448.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.4032, allocations: 1.521 MB / 450.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.4035, allocations: 11.84 kB / 450.2 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.4035, allocations: 8 kB / 450.2 MB, free: 13.3 MB / 346.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 () * 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.0001183/0.4036, allocations: 25.7 kB / 450.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.734e-05/0.4037, allocations: 27.66 kB / 450.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.386e-05/0.4038, allocations: 29.52 kB / 450.3 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.4039, allocations: 2.438 kB / 450.3 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.4039, allocations: 0 / 450.3 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.4039, allocations: 4.062 kB / 450.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.4053, allocations: 0.5543 MB / 450.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.4053, allocations: 0 / 450.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002942/0.4056, allocations: 27.98 kB / 450.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002848/0.4059, allocations: 60.77 kB / 450.9 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.4059, allocations: 0 / 450.9 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002568/0.4085, allocations: 1.613 MB / 452.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.4086, allocations: 0 / 452.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001005/0.4096, allocations: 386.7 kB / 452.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.497e-05/0.4097, allocations: 97 kB / 453 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.4097, allocations: 4 kB / 453 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003413/0.4101, allocations: 20.05 kB / 453.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.4101, allocations: 11.98 kB / 453.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.4102, allocations: 4 kB / 453.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002013/0.4104, allocations: 140.6 kB / 453.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00084/0.4112, allocations: 123.5 kB / 453.3 MB, free: 9.992 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002536/0.4115, allocations: 109.6 kB / 453.4 MB, free: 9.875 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.4129, allocations: 398.2 kB / 453.8 MB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4129, allocations: 0 / 453.8 MB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.4133, allocations: 178.4 kB / 454 MB, free: 9.293 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.4137, allocations: 31.89 kB / 454 MB, free: 9.262 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.4167, allocations: 0.6728 MB / 454.7 MB, free: 8.555 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004758/0.4172, allocations: 0.7829 MB / 455.5 MB, free: 7.746 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.4173, allocations: 0 / 455.5 MB, free: 7.746 MB / 346.7 MB Notification: Performance of Templates: time 0.008893/0.4262, allocations: 3.569 MB / 459.1 MB, free: 4.191 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,c.v,l.i,opAmp.out.v,opAmp.out.i Variables in the result:A,C,L,R,R1,R2,VAmp,c.C,der(c.v),c.i,c.n.i,c.n.v,c.p.i,c.p.v,c.v,f,gamma,ground.p.i,ground.p.v,l.L,der(l.i),l.i,l.n.i,l.n.v,l.p.i,l.p.v,l.v,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.homotopyType,opAmp.i_s,opAmp.in_n.i,opAmp.in_n.v,opAmp.in_p.i,opAmp.in_p.v,opAmp.out.i,opAmp.out.v,opAmp.p_in,opAmp.p_out,opAmp.p_s,opAmp.simplifiedExpr,opAmp.strict,opAmp.useSupply,opAmp.v_in,opAmp.v_out,opAmp.vns,opAmp.vps,r.LossPower,r.R,r.R_actual,r.T,r.T_heatPort,r.T_ref,r.alpha,r.i,r.n.i,r.n.v,r.p.i,r.p.v,r.useHeatPort,r.v,r1.LossPower,r1.R,r1.R_actual,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r1.i,r1.n.i,r1.n.v,r1.p.i,r1.p.v,r1.useHeatPort,r1.v,r2.LossPower,r2.R,r2.R_actual,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,r2.i,r2.n.i,r2.n.v,r2.p.i,r2.p.v,r2.useHeatPort,r2.v,time,vOut.n.i,vOut.n.v,vOut.p.i,vOut.p.v,vOut.v