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.001654/0.001654, allocations: 109 kB / 17.06 MB, free: 5.961 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.001816/0.001816, allocations: 200 kB / 18 MB, free: 5.051 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.41/1.41, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 47.92 kB / 350.8 MB, free: 3.699 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2888, allocations: 49.44 MB / 400.3 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003737/0.2925, allocations: 2.689 MB / 403 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.2938, allocations: 0.6661 MB / 403.6 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.2939, allocations: 15.88 kB / 403.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.2941, allocations: 39.58 kB / 403.7 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.2943, allocations: 87.25 kB / 403.8 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.2945, allocations: 95.8 kB / 403.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.2949, allocations: 330.6 kB / 404.2 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.2951, allocations: 117.7 kB / 404.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.2953, allocations: 131.5 kB / 404.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.2955, allocations: 135.4 kB / 404.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.399e-05/0.2955, allocations: 27.94 kB / 404.6 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.066e-05/0.2956, allocations: 28 kB / 404.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.2957, allocations: 63.77 kB / 404.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.2958, allocations: 147.3 kB / 404.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.2962, allocations: 321.6 kB / 405.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2962, allocations: 0 / 405.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2962, allocations: 0 / 405.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.2962, allocations: 0 / 405.1 MB, free: 3.918 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.0009734/0.2972, allocations: 0.6001 MB / 405.7 MB, free: 3.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2972, allocations: 8.031 kB / 405.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.067e-05/0.2973, allocations: 66.66 kB / 405.8 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.994e-05/0.2974, allocations: 32.75 kB / 405.8 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.2978, allocations: 256.5 kB / 406.1 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.2978, allocations: 24.94 kB / 406.1 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.2979, allocations: 28.38 kB / 406.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005111/0.2984, allocations: 283.8 kB / 406.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2984, allocations: 0 / 406.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.2984, allocations: 8 kB / 406.4 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.2985, allocations: 8 kB / 406.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004509/0.2989, allocations: 210.1 kB / 406.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.3006, allocations: 1.004 MB / 407.7 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/0.3011, allocations: 190.5 kB / 407.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004441/0.3016, allocations: 152.8 kB / 408 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.3016, allocations: 7.938 kB / 408 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.3017, allocations: 38.5 kB / 408 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.3017, allocations: 0 / 408 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001777/0.3034, allocations: 0.5501 MB / 408.6 MB, free: 252 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.3035, allocations: 55.41 kB / 408.6 MB, free: 184 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.3038, allocations: 237 kB / 408.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.3038, allocations: 33.7 kB / 408.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.3039, allocations: 180.1 kB / 409.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.575e-05/0.304, allocations: 63.42 kB / 409.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-05/0.3041, allocations: 49.7 kB / 409.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3042, allocations: 334.8 kB / 409.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.3044, allocations: 63.95 kB / 409.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.3047, allocations: 134.8 kB / 409.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/0.3051, allocations: 210.6 kB / 409.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3051, allocations: 3.938 kB / 409.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008395/0.3059, allocations: 350.2 kB / 410.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.306, allocations: 10.34 kB / 410.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.306, allocations: 3.938 kB / 410.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003816/0.3064, allocations: 88.84 kB / 410.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.3066, allocations: 43.92 kB / 410.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002986/0.3096, allocations: 2.009 MB / 412.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.3098, allocations: 35.72 kB / 412.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.3098, allocations: 8 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.0001531/0.31, allocations: 149.8 kB / 412.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.31, allocations: 23.86 kB / 412.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.115e-05/0.3101, allocations: 22.19 kB / 412.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3101, allocations: 4 kB / 412.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.3101, allocations: 0 / 412.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3101, allocations: 3.984 kB / 412.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.3113, allocations: 0.655 MB / 413.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3113, allocations: 0 / 413.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.3114, allocations: 35.98 kB / 413.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002875/0.3117, allocations: 72.8 kB / 413.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.3118, allocations: 4 kB / 413.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002831/0.3146, allocations: 1.928 MB / 415.3 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3146, allocations: 4.031 kB / 415.4 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.3157, allocations: 455.2 kB / 415.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.3158, allocations: 108.9 kB / 415.9 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.3158, allocations: 8.062 kB / 415.9 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.316, allocations: 15.98 kB / 415.9 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.3161, allocations: 15.98 kB / 415.9 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.3161, allocations: 7.938 kB / 416 MB, free: 8.383 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002646/0.3164, allocations: 168.5 kB / 416.1 MB, free: 8.219 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.364e-06/0.3164, allocations: 0 / 416.1 MB, free: 8.219 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004858/0.3169, allocations: 79.83 kB / 416.2 MB, free: 8.141 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.001337/0.3182, allocations: 0.9891 MB / 417.2 MB, free: 7.121 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009594/0.3192, allocations: 378.4 kB / 417.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3192, allocations: 0 / 417.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003375/0.3195, allocations: 198.6 kB / 417.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.32, allocations: 44.09 kB / 417.8 MB, free: 6.488 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005671/0.3257, allocations: 3.084 MB / 420.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.3261, allocations: 0.7518 MB / 421.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.3262, allocations: 29.88 kB / 421.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.3263, allocations: 71.41 kB / 421.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3263, allocations: 0 / 421.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03511/0.3614, allocations: 5.419 MB / 427.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.83, allocations: 2.234 kB / 427.1 MB, free: 13.13 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