Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 106.6 kB / 17.06 MB, free: 6.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 193.4 kB / 18 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 51.91 kB / 350.8 MB, free: 3.691 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2426, allocations: 49.44 MB / 400.3 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004261/0.2469, allocations: 2.694 MB / 403 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.2482, allocations: 0.6739 MB / 403.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.2484, allocations: 4 kB / 403.7 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.2486, allocations: 43.56 kB / 403.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.2488, allocations: 95.12 kB / 403.8 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.2491, allocations: 87.88 kB / 403.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004308/0.2495, allocations: 338.5 kB / 404.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/0.2498, allocations: 105.7 kB / 404.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.25, allocations: 131.5 kB / 404.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.2503, allocations: 139.4 kB / 404.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.369e-05/0.2503, allocations: 28 kB / 404.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.922e-05/0.2504, allocations: 28 kB / 404.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.167e-05/0.2505, allocations: 63.77 kB / 404.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.2507, allocations: 147.2 kB / 404.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000404/0.2511, allocations: 313.6 kB / 405.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2511, allocations: 0 / 405.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.2511, allocations: 4 kB / 405.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.2511, allocations: 3.938 kB / 405.2 MB, free: 3.91 MB / 318.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.001111/0.2522, allocations: 0.604 MB / 405.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.2523, allocations: 12.03 kB / 405.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.998e-05/0.2524, allocations: 58.73 kB / 405.8 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.818e-05/0.2524, allocations: 32.75 kB / 405.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.2529, allocations: 256.5 kB / 406.1 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.2529, allocations: 16.94 kB / 406.1 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.865e-05/0.2529, allocations: 24.38 kB / 406.2 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005216/0.2535, allocations: 287.8 kB / 406.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2535, allocations: 0 / 406.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.2535, allocations: 12 kB / 406.4 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.2535, allocations: 4 kB / 406.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004555/0.254, allocations: 218.1 kB / 406.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.2556, allocations: 1.004 MB / 407.7 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.2562, allocations: 190.5 kB / 407.9 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004097/0.2566, allocations: 148.8 kB / 408 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.2566, allocations: 8 kB / 408 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.2566, allocations: 34.56 kB / 408 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 4.649e-06/0.2567, allocations: 3.984 kB / 408 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001791/0.2585, allocations: 0.5579 MB / 408.6 MB, free: 240 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.2585, allocations: 55.41 kB / 408.7 MB, free: 172 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.2588, allocations: 233 kB / 408.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.2588, allocations: 29.7 kB / 408.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.2589, allocations: 180.1 kB / 409.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.259, allocations: 71.42 kB / 409.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.501e-05/0.2591, allocations: 45.7 kB / 409.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2592, allocations: 330.8 kB / 409.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.2594, allocations: 67.97 kB / 409.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.2597, allocations: 134.8 kB / 409.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.26, allocations: 204.4 kB / 409.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2601, allocations: 3.938 kB / 409.9 MB, free: 14.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008436/0.2609, allocations: 356.6 kB / 410.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2609, allocations: 7.938 kB / 410.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2609, allocations: 4 kB / 410.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000361/0.2613, allocations: 80.86 kB / 410.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.2615, allocations: 47.97 kB / 410.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003086/0.2646, allocations: 2.005 MB / 412.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.2648, allocations: 31.77 kB / 412.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.2648, allocations: 8 kB / 412.5 MB, free: 12.13 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.265, allocations: 149.6 kB / 412.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.265, allocations: 23.86 kB / 412.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.21e-05/0.2651, allocations: 30.23 kB / 412.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.2651, allocations: 0 / 412.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.2651, allocations: 4 kB / 412.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2651, allocations: 0 / 412.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.2663, allocations: 0.6571 MB / 413.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2663, allocations: 0 / 413.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.2665, allocations: 27.98 kB / 413.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000274/0.2668, allocations: 80.8 kB / 413.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.2668, allocations: 0 / 413.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002494/0.2693, allocations: 1.924 MB / 415.3 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2693, allocations: 4.062 kB / 415.3 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009639/0.2703, allocations: 463.8 kB / 415.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.295e-05/0.2704, allocations: 96.94 kB / 415.9 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.2704, allocations: 8 kB / 415.9 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.2706, allocations: 23.98 kB / 415.9 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.2706, allocations: 15.92 kB / 415.9 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.2707, allocations: 11.92 kB / 416 MB, free: 8.379 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.2708, allocations: 168.5 kB / 416.1 MB, free: 8.215 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2708, allocations: 0 / 416.1 MB, free: 8.215 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004049/0.2712, allocations: 67.89 kB / 416.2 MB, free: 8.148 MB / 334.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 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/0.2725, allocations: 0.9934 MB / 417.2 MB, free: 7.125 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009301/0.2735, allocations: 382.6 kB / 417.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2735, allocations: 0 / 417.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003172/0.2738, allocations: 206.6 kB / 417.8 MB, free: 6.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.2742, allocations: 36.7 kB / 417.8 MB, free: 6.484 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005481/0.2797, allocations: 3.076 MB / 420.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.2801, allocations: 0.7519 MB / 421.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.587e-05/0.2802, allocations: 25.92 kB / 421.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.2804, allocations: 79.36 kB / 421.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of SimCode: time 2.545e-06/0.2804, allocations: 3.938 kB / 421.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03394/0.3143, allocations: 5.42 MB / 427.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.88, allocations: 7.578 kB / 427.2 MB, free: 13.12 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --timeout=50 --tolerance=0.0001 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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,c.i,c.n.i,c.n.v,c.p.i,c.p.v,c.v,der(c.v),der(l.i),f,gamma,ground.p.i,ground.p.v,l.L,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.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