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.001188/0.001188, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001164/0.001164, allocations: 200 kB / 18.01 MB, free: 5.047 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.331/1.331, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 47.94 kB / 350.8 MB, free: 3.688 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.298, allocations: 49.44 MB / 400.3 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004392/0.3024, allocations: 2.698 MB / 403 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.3037, allocations: 0.6739 MB / 403.6 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.3038, allocations: 4 kB / 403.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.304, allocations: 47.56 kB / 403.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.3042, allocations: 91.25 kB / 403.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.3045, allocations: 87.75 kB / 403.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004919/0.305, allocations: 342.5 kB / 404.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.3052, allocations: 105.7 kB / 404.3 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.3055, allocations: 135.5 kB / 404.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.3057, allocations: 135.4 kB / 404.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.734e-05/0.3058, allocations: 28 kB / 404.6 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.5e-05/0.3058, allocations: 28 kB / 404.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.193e-05/0.3059, allocations: 67.73 kB / 404.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.306, allocations: 143.3 kB / 404.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.3064, allocations: 317.6 kB / 405.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3064, allocations: 0 / 405.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3064, allocations: 0 / 405.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.3064, allocations: 0 / 405.1 MB, free: 3.906 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.001011/0.3074, allocations: 0.604 MB / 405.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.3075, allocations: 16.03 kB / 405.8 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.719e-05/0.3076, allocations: 54.73 kB / 405.8 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.028e-05/0.3077, allocations: 36.75 kB / 405.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.3081, allocations: 260.4 kB / 406.1 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.3081, allocations: 20.94 kB / 406.1 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.635e-05/0.3082, allocations: 20.38 kB / 406.1 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.3087, allocations: 287.8 kB / 406.4 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.3087, allocations: 0 / 406.4 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.3087, allocations: 12 kB / 406.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.3087, allocations: 4 kB / 406.4 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004297/0.3092, allocations: 206.1 kB / 406.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.3107, allocations: 1.011 MB / 407.7 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/0.3112, allocations: 186.4 kB / 407.8 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004844/0.3117, allocations: 160.8 kB / 408 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.3117, allocations: 0 / 408 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.3118, allocations: 34.5 kB / 408 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.3118, allocations: 8 kB / 408 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001715/0.3135, allocations: 0.5501 MB / 408.6 MB, free: 236 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.3136, allocations: 63.34 kB / 408.7 MB, free: 160 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.3138, allocations: 229 kB / 408.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.3139, allocations: 33.7 kB / 408.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.314, allocations: 176.1 kB / 409.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.3141, allocations: 67.44 kB / 409.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.941e-05/0.3142, allocations: 45.7 kB / 409.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3143, allocations: 334.8 kB / 409.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.3145, allocations: 71.97 kB / 409.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.3147, allocations: 134.8 kB / 409.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.3151, allocations: 200 kB / 409.9 MB, free: 14.81 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.3151, allocations: 7.938 kB / 409.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008101/0.316, allocations: 348.4 kB / 410.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.316, allocations: 8.062 kB / 410.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.316, allocations: 4 kB / 410.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003807/0.3164, allocations: 80.73 kB / 410.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.3166, allocations: 47.97 kB / 410.4 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/0.3195, allocations: 2.017 MB / 412.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.3197, allocations: 35.77 kB / 412.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.3197, allocations: 4 kB / 412.5 MB, free: 12.12 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.0001441/0.3198, allocations: 145.7 kB / 412.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.3199, allocations: 27.8 kB / 412.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.113e-05/0.32, allocations: 26.17 kB / 412.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.32, allocations: 4.125 kB / 412.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.32, allocations: 4.062 kB / 412.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.32, allocations: 4 kB / 412.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.3212, allocations: 0.6574 MB / 413.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3212, allocations: 0 / 413.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.3214, allocations: 35.98 kB / 413.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002483/0.3216, allocations: 72.8 kB / 413.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.3217, allocations: 4 kB / 413.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002481/0.3242, allocations: 1.912 MB / 415.3 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3242, allocations: 0 / 415.3 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009606/0.3251, allocations: 464 kB / 415.8 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.696e-05/0.3252, allocations: 101 kB / 415.9 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.3253, allocations: 8.125 kB / 415.9 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.3255, allocations: 23.98 kB / 415.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.3255, allocations: 23.91 kB / 415.9 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.3255, allocations: 7.938 kB / 416 MB, free: 8.367 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000204/0.3257, allocations: 168.5 kB / 416.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3257, allocations: 3.938 kB / 416.1 MB, free: 8.199 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004225/0.3262, allocations: 75.89 kB / 416.2 MB, free: 8.125 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.00127/0.3274, allocations: 0.9889 MB / 417.2 MB, free: 7.105 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009029/0.3283, allocations: 374.4 kB / 417.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3284, allocations: 0 / 417.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.3287, allocations: 210.9 kB / 417.8 MB, free: 6.508 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.3291, allocations: 35.28 kB / 417.8 MB, free: 6.473 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005218/0.3344, allocations: 3.08 MB / 420.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.3347, allocations: 0.748 MB / 421.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.636e-05/0.3348, allocations: 21.92 kB / 421.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.891e-05/0.3349, allocations: 79.41 kB / 421.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of SimCode: time 1.814e-06/0.3349, allocations: 0 / 421.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.3679, allocations: 5.421 MB / 427.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.29, allocations: 7.5 kB / 427.1 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv --start-time 0 --stop-time 0.01 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 1.001e-05 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.csv","/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) "Error: Could not read variable opAmp.out.v in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv. Warning: Get data of variable opAmp.out.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv failed! Error: Could not read variable opAmp.out.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv. Warning: Get data of variable opAmp.out.i from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv failed! " Variables in the reference:time,c.v,l.i,opAmp.out.v,opAmp.out.i Variables in the result:time,c.v,l.i