Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001095/0.001095, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00107/0.00107, allocations: 200.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.89 kB / 358.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2782, allocations: 50.54 MB / 408.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004358/0.2826, allocations: 2.717 MB / 411.5 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.284, allocations: 0.7011 MB / 412.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.2842, allocations: 4 kB / 412.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.2844, allocations: 55.5 kB / 412.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.2846, allocations: 87.25 kB / 412.4 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.2849, allocations: 87.88 kB / 412.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000325/0.2852, allocations: 338.5 kB / 412.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.2855, allocations: 113.6 kB / 412.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002362/0.2857, allocations: 135.6 kB / 413 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.2859, allocations: 139.3 kB / 413.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.769e-05/0.2859, allocations: 28 kB / 413.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.827e-05/0.286, allocations: 28 kB / 413.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.113e-05/0.286, allocations: 63.77 kB / 413.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.2861, allocations: 147.3 kB / 413.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.2865, allocations: 317.6 kB / 413.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2865, allocations: 4 kB / 413.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2865, allocations: 0 / 413.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.2865, allocations: 0 / 413.7 MB, free: 12.62 MB / 334.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.0009671/0.2875, allocations: 0.5923 MB / 414.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2875, allocations: 16.02 kB / 414.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.118e-05/0.2876, allocations: 58.73 kB / 414.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.825e-05/0.2877, allocations: 32.75 kB / 414.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.288, allocations: 271.8 kB / 414.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.288, allocations: 20.94 kB / 414.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.2881, allocations: 24.38 kB / 414.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000474/0.2886, allocations: 275.8 kB / 415 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.2886, allocations: 0 / 415 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.2886, allocations: 12 kB / 415 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.2886, allocations: 11.98 kB / 415 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004316/0.2891, allocations: 210.1 kB / 415.2 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.2905, allocations: 1.008 MB / 416.2 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.291, allocations: 198.4 kB / 416.4 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003974/0.2915, allocations: 153.1 kB / 416.6 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.2915, allocations: 0 / 416.6 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.2915, allocations: 42.47 kB / 416.6 MB, free: 9.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.2915, allocations: 0 / 416.6 MB, free: 9.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001714/0.2932, allocations: 0.5526 MB / 417.2 MB, free: 8.934 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.2933, allocations: 55.41 kB / 417.2 MB, free: 8.867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.2935, allocations: 237 kB / 417.5 MB, free: 8.625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.2936, allocations: 29.7 kB / 417.5 MB, free: 8.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.2937, allocations: 180.1 kB / 417.7 MB, free: 8.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/0.2937, allocations: 63.47 kB / 417.7 MB, free: 8.348 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/0.2938, allocations: 49.66 kB / 417.8 MB, free: 8.293 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2939, allocations: 334.8 kB / 418.1 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.2941, allocations: 63.97 kB / 418.2 MB, free: 7.895 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.2943, allocations: 134.8 kB / 418.3 MB, free: 7.738 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.2947, allocations: 210.2 kB / 418.5 MB, free: 7.512 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.2947, allocations: 3.938 kB / 418.5 MB, free: 7.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007935/0.2955, allocations: 354.1 kB / 418.9 MB, free: 7.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2955, allocations: 8 kB / 418.9 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2955, allocations: 0 / 418.9 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/0.2959, allocations: 80.86 kB / 418.9 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.2961, allocations: 51.91 kB / 419 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/0.2988, allocations: 1.998 MB / 421 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.299, allocations: 35.77 kB / 421 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.2991, allocations: 8 kB / 421 MB, free: 4.832 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.0001451/0.2992, allocations: 141.8 kB / 421.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.2993, allocations: 23.86 kB / 421.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.04e-05/0.2993, allocations: 26.17 kB / 421.2 MB, free: 4.633 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2993, allocations: 4.047 kB / 421.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2993, allocations: 3.984 kB / 421.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2994, allocations: 0 / 421.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.3005, allocations: 0.659 MB / 421.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3005, allocations: 4 kB / 421.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.3006, allocations: 31.98 kB / 421.9 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002515/0.3009, allocations: 76.73 kB / 422 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.3009, allocations: 4 kB / 422 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/0.3032, allocations: 1.916 MB / 423.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3032, allocations: 4.031 kB / 423.9 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008869/0.3041, allocations: 458.9 kB / 424.4 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.3041, allocations: 105 kB / 424.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.3042, allocations: 7.938 kB / 424.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.3044, allocations: 15.98 kB / 424.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.3044, allocations: 15.98 kB / 424.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.3044, allocations: 11.92 kB / 424.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.3046, allocations: 164.5 kB / 424.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3046, allocations: 0 / 424.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004215/0.305, allocations: 79.84 kB / 424.8 MB, free: 0.8594 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.001191/0.3062, allocations: 0.9902 MB / 425.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000882/0.3071, allocations: 377.9 kB / 426.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.3071, allocations: 0 / 426.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.3074, allocations: 210.5 kB / 426.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.3078, allocations: 48.05 kB / 426.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005196/0.3131, allocations: 3.082 MB / 429.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.3134, allocations: 0.748 MB / 430.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.515e-05/0.3135, allocations: 25.94 kB / 430.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.3136, allocations: 71.42 kB / 430.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3136, allocations: 0 / 430.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.3401, allocations: 5.418 MB / 435.7 MB, free: 5.848 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.28, allocations: 8.062 kB / 435.7 MB, free: 5.84 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv. Warning: Get data of variable opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv failed! Error: Could not read variable opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv. Warning: Get data of variable opAmp.out.i from file Modelica_trunk_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