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.00151/0.001515, allocations: 186.5 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.908/1.908, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001129/0.001129, allocations: 93.5 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.0004031, allocations: 11.98 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3232, allocations: 47.57 MB / 374.5 MB, free: 45.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1235/0.4467, allocations: 77.86 MB / 452.4 MB, free: 2.922 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.447, allocations: 75.91 kB / 452.5 MB, free: 2.848 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01961/0.4667, allocations: 4.41 MB / 456.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4667, allocations: 4 kB / 456.9 MB, free: 14.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.237e-05/0.4668, allocations: 4 kB / 456.9 MB, free: 14.42 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.001179/0.468, allocations: 0.5382 MB / 457.4 MB, free: 13.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.468, allocations: 12.03 kB / 457.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.4681, allocations: 31.62 kB / 457.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/0.4686, allocations: 256.6 kB / 457.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.4686, allocations: 20.56 kB / 457.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.137e-05/0.4687, allocations: 27.91 kB / 457.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007534/0.4695, allocations: 244.8 kB / 458 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.4695, allocations: 0 / 458 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.25e-05/0.4696, allocations: 15.98 kB / 458 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.4696, allocations: 8 kB / 458 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008239/0.4704, allocations: 226.1 kB / 458.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002445/0.4729, allocations: 0.9446 MB / 459.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007488/0.4737, allocations: 198.4 kB / 459.4 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.4737, allocations: 4 kB / 459.4 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.4738, allocations: 34.56 kB / 459.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 3.176e-06/0.4738, allocations: 0 / 459.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.002393/0.4762, allocations: 0.541 MB / 460 MB, free: 11.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.4763, allocations: 55.41 kB / 460 MB, free: 11.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.4766, allocations: 204.6 kB / 460.2 MB, free: 10.85 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.4767, allocations: 25.7 kB / 460.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.4768, allocations: 238.3 kB / 460.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.45e-05/0.4769, allocations: 63.05 kB / 460.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/0.477, allocations: 7.938 kB / 460.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4771, allocations: 322.8 kB / 460.9 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.4774, allocations: 64.47 kB / 460.9 MB, free: 10.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.4777, allocations: 126 kB / 461.1 MB, free: 9.984 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/0.478, allocations: 82.42 kB / 461.1 MB, free: 9.906 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.478, allocations: 0 / 461.1 MB, free: 9.906 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001142/0.4792, allocations: 322.1 kB / 461.5 MB, free: 9.582 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002817/0.4795, allocations: 0.6163 MB / 462.1 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.4795, allocations: 4 kB / 462.1 MB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004989/0.48, allocations: 80.75 kB / 462.2 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.4804, allocations: 43.97 kB / 462.2 MB, free: 8.789 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.4816, allocations: 0.681 MB / 462.9 MB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.4819, allocations: 35.75 kB / 462.9 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.482, allocations: 4 kB / 462.9 MB, free: 8.047 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.482, allocations: 4 kB / 462.9 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005773/0.4826, allocations: 216.3 kB / 463.1 MB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.4826, allocations: 4 kB / 463.1 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/0.4828, allocations: 37.03 kB / 463.2 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.4831, allocations: 55.91 kB / 463.2 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.485, allocations: 1.53 MB / 464.8 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.4852, allocations: 20.22 kB / 464.8 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.4852, allocations: 15.94 kB / 464.8 MB, free: 6.031 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 () * Number of clocked 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 0.0002583/0.4855, allocations: 217 kB / 465 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.151e-05/0.4856, allocations: 19.81 kB / 465 MB, free: 5.789 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.788e-05/0.4857, allocations: 25.86 kB / 465.1 MB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4857, allocations: 8.062 kB / 465.1 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4857, allocations: 4 kB / 465.1 MB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.4857, allocations: 3.984 kB / 465.1 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004917/0.4862, allocations: 309.4 kB / 465.4 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4863, allocations: 0 / 465.4 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.4866, allocations: 31.92 kB / 465.4 MB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004038/0.487, allocations: 72.81 kB / 465.5 MB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.487, allocations: 0 / 465.5 MB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003167/0.4902, allocations: 1.761 MB / 467.2 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.4902, allocations: 3.984 kB / 467.2 MB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.4915, allocations: 444.5 kB / 467.7 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.4917, allocations: 96.8 kB / 467.8 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/0.4918, allocations: 16.05 kB / 467.8 MB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.4921, allocations: 12 kB / 467.8 MB, free: 2.797 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.4922, allocations: 19.97 kB / 467.8 MB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.4922, allocations: 4 kB / 467.8 MB, free: 2.773 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002425/0.4924, allocations: 164.5 kB / 468 MB, free: 2.613 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4925, allocations: 3.938 kB / 468 MB, free: 2.609 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007617/0.4932, allocations: 127.7 kB / 468.1 MB, free: 2.484 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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.0001935/0.4934, allocations: 111.2 kB / 468.2 MB, free: 2.367 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001496/0.4949, allocations: 459.6 kB / 468.7 MB, free: 1.906 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.495, allocations: 0 / 468.7 MB, free: 1.906 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004777/0.4955, allocations: 214.5 kB / 468.9 MB, free: 1.684 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.4959, allocations: 37.06 kB / 468.9 MB, free: 1.648 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.4991, allocations: 0.9588 MB / 469.9 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.4996, allocations: 0.7602 MB / 470.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.373e-05/0.4997, allocations: 19.44 kB / 470.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4997, allocations: 0 / 470.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of Templates: time 0.008753/0.5085, allocations: 3.604 MB / 474.3 MB, free: 12.25 MB / 362.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.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.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.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.v,time,vOut.n.i,vOut.n.v,vOut.p.i,vOut.p.v,vOut.v