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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002367/0.002367, allocations: 178.1 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.011/2.011, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 92.69 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.61e-05/2.623e-05, allocations: 4 kB / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3406, allocations: 47.57 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.4657, allocations: 77.12 MB / 439.5 MB, free: 9.184 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/0.4661, allocations: 75.95 kB / 439.5 MB, free: 9.109 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01997/0.486, allocations: 4.357 MB / 443.9 MB, free: 4.773 MB / 331.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.4861, allocations: 0 / 443.9 MB, free: 4.773 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.407e-05/0.4861, allocations: 5.203 kB / 443.9 MB, free: 4.77 MB / 331.1 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.001147/0.4873, allocations: 0.5092 MB / 444.4 MB, free: 4.219 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.4874, allocations: 8.031 kB / 444.4 MB, free: 4.211 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.4875, allocations: 32.73 kB / 444.5 MB, free: 4.18 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.488, allocations: 263.4 kB / 444.7 MB, free: 3.883 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.488, allocations: 8 kB / 444.7 MB, free: 3.875 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.907e-05/0.4881, allocations: 23.94 kB / 444.7 MB, free: 3.852 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005089/0.4886, allocations: 161.1 kB / 444.9 MB, free: 3.695 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/0.4892, allocations: 181.8 kB / 445.1 MB, free: 3.512 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.4892, allocations: 0 / 445.1 MB, free: 3.512 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.4893, allocations: 1.641 kB / 445.1 MB, free: 3.512 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.4893, allocations: 8 kB / 445.1 MB, free: 3.504 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002515/0.4918, allocations: 0.8933 MB / 446 MB, free: 2.547 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.4924, allocations: 159.3 kB / 446.1 MB, free: 2.383 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004899/0.4929, allocations: 138 kB / 446.3 MB, free: 2.246 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.493, allocations: 4 kB / 446.3 MB, free: 2.242 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.493, allocations: 38.55 kB / 446.3 MB, free: 2.195 MB / 331.1 MB Notification: Performance of pre-optimization done (n=18): time 5.14e-06/0.493, allocations: 7.984 kB / 446.3 MB, free: 2.188 MB / 331.1 MB Notification: Performance of matching and sorting (n=18): time 0.0008598/0.4939, allocations: 209.2 kB / 446.5 MB, free: 1.977 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.494, allocations: 59.41 kB / 446.6 MB, free: 1.906 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.4943, allocations: 182 kB / 446.8 MB, free: 1.723 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.4943, allocations: 35.59 kB / 446.8 MB, free: 1.684 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.4945, allocations: 234.4 kB / 447 MB, free: 1.453 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.189e-05/0.4946, allocations: 66.95 kB / 447.1 MB, free: 1.387 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.4946, allocations: 0 / 447.1 MB, free: 1.387 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4948, allocations: 318.8 kB / 447.4 MB, free: 1.066 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.495, allocations: 44 kB / 447.4 MB, free: 1.023 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.4952, allocations: 103 kB / 447.5 MB, free: 0.9023 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.4954, allocations: 62.41 kB / 447.6 MB, free: 0.8438 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.4954, allocations: 0 / 447.6 MB, free: 0.8438 MB / 331.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009107/0.4963, allocations: 267.8 kB / 447.9 MB, free: 0.5742 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003518/0.4967, allocations: 0.6122 MB / 448.5 MB, free: 15.91 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.4967, allocations: 4 kB / 448.5 MB, free: 15.91 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003678/0.4971, allocations: 56.83 kB / 448.5 MB, free: 15.85 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/0.4975, allocations: 43.92 kB / 448.6 MB, free: 15.81 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007106/0.4982, allocations: 0.5919 MB / 449.2 MB, free: 15.19 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.4986, allocations: 23.72 kB / 449.2 MB, free: 15.17 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.4986, allocations: 12 kB / 449.2 MB, free: 15.16 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.4986, allocations: 4 kB / 449.2 MB, free: 15.15 MB / 347.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005621/0.4992, allocations: 181.6 kB / 449.4 MB, free: 14.97 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4992, allocations: 7.094 kB / 449.4 MB, free: 14.97 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001991/0.4995, allocations: 52.75 kB / 449.4 MB, free: 14.91 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.4998, allocations: 42.7 kB / 449.5 MB, free: 14.88 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.5018, allocations: 1.538 MB / 451 MB, free: 13.22 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.502, allocations: 9.781 kB / 451 MB, free: 13.21 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.5021, allocations: 8 kB / 451 MB, free: 13.21 MB / 347.1 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.0002304/0.5023, allocations: 114.6 kB / 451.2 MB, free: 13.09 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-05/0.5024, allocations: 19.72 kB / 451.2 MB, free: 13.07 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.869e-05/0.5025, allocations: 29.89 kB / 451.2 MB, free: 13.04 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5025, allocations: 4 kB / 451.2 MB, free: 13.04 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.5026, allocations: 4.062 kB / 451.2 MB, free: 13.04 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.5026, allocations: 0 / 451.2 MB, free: 13.04 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.504, allocations: 0.5504 MB / 451.8 MB, free: 12.44 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.504, allocations: 0 / 451.8 MB, free: 12.44 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.5043, allocations: 31.92 kB / 451.8 MB, free: 12.41 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002681/0.5046, allocations: 50.31 kB / 451.8 MB, free: 12.36 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.5046, allocations: 4 kB / 451.8 MB, free: 12.35 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002449/0.5071, allocations: 1.622 MB / 453.5 MB, free: 10.62 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5071, allocations: 2.812 kB / 453.5 MB, free: 10.62 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009311/0.5081, allocations: 377.6 kB / 453.8 MB, free: 10.23 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.5082, allocations: 100.9 kB / 453.9 MB, free: 10.11 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.5082, allocations: 4.062 kB / 453.9 MB, free: 10.11 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/0.5086, allocations: 15.98 kB / 454 MB, free: 10.09 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.5086, allocations: 11.98 kB / 454 MB, free: 10.08 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.5087, allocations: 4 kB / 454 MB, free: 10.08 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.000191/0.5089, allocations: 144.6 kB / 454.1 MB, free: 9.938 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5089, allocations: 0 / 454.1 MB, free: 9.938 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0008374/0.5097, allocations: 123.5 kB / 454.2 MB, free: 9.816 MB / 347.1 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.0001938/0.5099, allocations: 104.3 kB / 454.3 MB, free: 9.707 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0009354/0.5109, allocations: 358.5 kB / 454.7 MB, free: 9.352 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5109, allocations: 0 / 454.7 MB, free: 9.352 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003848/0.5113, allocations: 201.7 kB / 454.9 MB, free: 9.145 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.5117, allocations: 23.94 kB / 454.9 MB, free: 9.121 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/0.5143, allocations: 0.6571 MB / 455.6 MB, free: 8.434 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.5148, allocations: 0.7599 MB / 456.3 MB, free: 7.645 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.254e-05/0.5149, allocations: 19.44 kB / 456.3 MB, free: 7.625 MB / 347.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5149, allocations: 0 / 456.3 MB, free: 7.625 MB / 347.1 MB Notification: Performance of Templates: time 0.008637/0.5235, allocations: 3.474 MB / 459.8 MB, free: 4.172 MB / 347.1 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