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.001526/0.001526, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.978/1.978, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001082/0.001082, allocations: 86.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.054e-05/3.069e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09671/0.09676, allocations: 47.58 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.389/0.4859, allocations: 77.76 MB / 446.9 MB, free: 15.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.4862, allocations: 76.33 kB / 446.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0199/0.5061, allocations: 4.409 MB / 451.3 MB, free: 11.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5062, allocations: 0 / 451.3 MB, free: 11.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.303e-05/0.5062, allocations: 4 kB / 451.4 MB, free: 11.58 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.001102/0.5073, allocations: 0.512 MB / 451.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.5074, allocations: 8.031 kB / 451.9 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.5076, allocations: 27.72 kB / 451.9 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004833/0.5081, allocations: 273.2 kB / 452.2 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.5081, allocations: 15.69 kB / 452.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.932e-05/0.5082, allocations: 26.62 kB / 452.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005784/0.5088, allocations: 218.1 kB / 452.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.5088, allocations: 0 / 452.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.5088, allocations: 10.44 kB / 452.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.5089, allocations: 8 kB / 452.4 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/0.5094, allocations: 172.9 kB / 452.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002491/0.5119, allocations: 0.9477 MB / 453.6 MB, free: 9.578 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005614/0.5125, allocations: 171.2 kB / 453.7 MB, free: 9.457 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/0.513, allocations: 143.3 kB / 453.9 MB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/0.513, allocations: 4 kB / 453.9 MB, free: 9.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.5131, allocations: 38.44 kB / 453.9 MB, free: 9.297 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 3.076e-06/0.5131, allocations: 0 / 453.9 MB, free: 9.297 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008487/0.514, allocations: 236.1 kB / 454.1 MB, free: 9.094 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.514, allocations: 55.41 kB / 454.2 MB, free: 9.027 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.5143, allocations: 205.4 kB / 454.4 MB, free: 8.852 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.5144, allocations: 29.7 kB / 454.4 MB, free: 8.816 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.5145, allocations: 229.8 kB / 454.6 MB, free: 8.613 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.883e-05/0.5146, allocations: 62.77 kB / 454.7 MB, free: 8.559 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/0.5146, allocations: 11.62 kB / 454.7 MB, free: 8.551 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5148, allocations: 318.6 kB / 455 MB, free: 8.234 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.515, allocations: 56.12 kB / 455.1 MB, free: 8.199 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.5152, allocations: 108.3 kB / 455.2 MB, free: 8.094 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.5154, allocations: 63.11 kB / 455.2 MB, free: 8.055 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5154, allocations: 0 / 455.2 MB, free: 8.055 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000896/0.5163, allocations: 285.6 kB / 455.5 MB, free: 7.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002896/0.5166, allocations: 0.612 MB / 456.1 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.5166, allocations: 4 kB / 456.1 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003566/0.517, allocations: 68.25 kB / 456.2 MB, free: 7.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.5173, allocations: 43.92 kB / 456.3 MB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.5184, allocations: 0.6479 MB / 456.9 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.5188, allocations: 27.56 kB / 456.9 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.5188, allocations: 8 kB / 456.9 MB, free: 6.395 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.5188, allocations: 11.34 kB / 456.9 MB, free: 6.387 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000582/0.5194, allocations: 205.7 kB / 457.1 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5194, allocations: 4 kB / 457.1 MB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002013/0.5196, allocations: 44.2 kB / 457.2 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.52, allocations: 51.92 kB / 457.2 MB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.5219, allocations: 1.596 MB / 458.8 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.5221, allocations: 19.44 kB / 458.9 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.5222, allocations: 11.94 kB / 458.9 MB, free: 4.527 MB / 330.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.0001422/0.5223, allocations: 116.2 kB / 459 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-05/0.5224, allocations: 19.75 kB / 459 MB, free: 4.395 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.433e-05/0.5225, allocations: 25.2 kB / 459 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.5225, allocations: 4.062 kB / 459 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5225, allocations: 7.953 kB / 459 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.5225, allocations: 0 / 459 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.5239, allocations: 0.6079 MB / 459.6 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.524, allocations: 0 / 459.6 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.5243, allocations: 31.92 kB / 459.7 MB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002659/0.5246, allocations: 56.31 kB / 459.7 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.5246, allocations: 3.938 kB / 459.7 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002427/0.527, allocations: 1.68 MB / 461.4 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5271, allocations: 0 / 461.4 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009585/0.528, allocations: 386.5 kB / 461.8 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.5282, allocations: 104.1 kB / 461.9 MB, free: 1.613 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.5282, allocations: 8 kB / 461.9 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.5286, allocations: 19.36 kB / 461.9 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.5286, allocations: 19.31 kB / 461.9 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.5287, allocations: 4 kB / 461.9 MB, free: 1.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002263/0.5289, allocations: 162.8 kB / 462.1 MB, free: 1.438 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5289, allocations: 3.938 kB / 462.1 MB, free: 1.434 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007667/0.5297, allocations: 132.9 kB / 462.2 MB, free: 1.316 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.0001936/0.5299, allocations: 106.5 kB / 462.3 MB, free: 1.207 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.5312, allocations: 433.2 kB / 462.8 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5313, allocations: 0.75 kB / 462.8 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.5317, allocations: 212.9 kB / 463 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.5321, allocations: 29.52 kB / 463 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.5347, allocations: 0.6621 MB / 463.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.5351, allocations: 0.7602 MB / 464.4 MB, free: 15.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.942e-05/0.5352, allocations: 19.44 kB / 464.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5352, allocations: 0 / 464.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of Templates: time 0.008384/0.5436, allocations: 3.592 MB / 468 MB, free: 11.47 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.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