Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.43/1.43, allocations: 230.6 MB / 254.1 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 51.94 kB / 373 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1076, allocations: 53.33 MB / 426.4 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004381/0.112, allocations: 2.722 MB / 429.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1134, allocations: 0.705 MB / 429.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.1135, allocations: 4 kB / 429.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.1137, allocations: 43.52 kB / 429.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.1139, allocations: 99.23 kB / 429.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.1142, allocations: 91.77 kB / 430 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003809/0.1145, allocations: 334.6 kB / 430.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.1147, allocations: 81.69 kB / 430.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.115, allocations: 143.4 kB / 430.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.1152, allocations: 139.4 kB / 430.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.1152, allocations: 24 kB / 430.7 MB, free: 484 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.464e-05/0.1153, allocations: 28 kB / 430.8 MB, free: 456 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.092e-05/0.1153, allocations: 63.77 kB / 430.8 MB, free: 392 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.1155, allocations: 147.3 kB / 431 MB, free: 244 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2004/0.3159, allocations: 318.4 kB / 431.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.413e-06/0.3159, allocations: 0.875 kB / 431.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3159, allocations: 0 / 431.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.827e-05/0.3159, allocations: 1.453 kB / 431.3 MB, free: 8.258 MB / 350.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.0009972/0.3169, allocations: 0.5898 MB / 431.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3169, allocations: 9.188 kB / 431.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.872e-05/0.317, allocations: 63.11 kB / 431.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.814e-05/0.3171, allocations: 35.81 kB / 432 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.3174, allocations: 263.7 kB / 432.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.3174, allocations: 21.5 kB / 432.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.3175, allocations: 24.84 kB / 432.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.318, allocations: 279.5 kB / 432.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.318, allocations: 0 / 432.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.318, allocations: 10.97 kB / 432.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.318, allocations: 8.156 kB / 432.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/0.3184, allocations: 208 kB / 432.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.3197, allocations: 1.011 MB / 433.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.3202, allocations: 180.5 kB / 434 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/0.3206, allocations: 145.4 kB / 434.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3206, allocations: 2.562 kB / 434.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.3206, allocations: 35.16 kB / 434.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.3206, allocations: 0 / 434.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00166/0.3223, allocations: 0.5603 MB / 434.7 MB, free: 6.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.3223, allocations: 61.14 kB / 434.8 MB, free: 6.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.3225, allocations: 230.1 kB / 435 MB, free: 6.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3225, allocations: 30.11 kB / 435 MB, free: 6.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.405e-05/0.3226, allocations: 185.8 kB / 435.2 MB, free: 6.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.3226, allocations: 60.08 kB / 435.2 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.551e-05/0.3227, allocations: 49.27 kB / 435.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.836e-05/0.3227, allocations: 333.9 kB / 435.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.3229, allocations: 66.31 kB / 435.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.3231, allocations: 141.2 kB / 435.8 MB, free: 5.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/0.3234, allocations: 204.1 kB / 436 MB, free: 5.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3234, allocations: 1.094 kB / 436 MB, free: 5.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007901/0.3242, allocations: 354.5 kB / 436.4 MB, free: 5.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3242, allocations: 6.609 kB / 436.4 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3242, allocations: 2.031 kB / 436.4 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003591/0.3246, allocations: 78.25 kB / 436.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.3248, allocations: 52.64 kB / 436.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/0.3273, allocations: 2.002 MB / 438.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.3275, allocations: 33.39 kB / 438.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.3275, allocations: 12.33 kB / 438.6 MB, free: 4.301 MB / 350.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.000109/0.3276, allocations: 143.4 kB / 438.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.3277, allocations: 27.05 kB / 438.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.829e-05/0.3277, allocations: 23.33 kB / 438.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3277, allocations: 2.25 kB / 438.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3277, allocations: 1.281 kB / 438.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3277, allocations: 1.625 kB / 438.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.3288, allocations: 0.6499 MB / 439.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3288, allocations: 0 / 439.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.329, allocations: 38.83 kB / 439.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002875/0.3293, allocations: 77.84 kB / 439.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.3293, allocations: 5.516 kB / 439.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.3314, allocations: 1.929 MB / 441.4 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3314, allocations: 0 / 441.4 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000903/0.3323, allocations: 455.3 kB / 441.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.3324, allocations: 104.3 kB / 442 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.3324, allocations: 1.078 kB / 442 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.3326, allocations: 27.17 kB / 442 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.3326, allocations: 17.33 kB / 442 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.3326, allocations: 3.281 kB / 442 MB, free: 2.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.3328, allocations: 173.6 kB / 442.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3328, allocations: 1.094 kB / 442.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004593/0.3332, allocations: 69.89 kB / 442.3 MB, free: 1.922 MB / 350.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.001072/0.3343, allocations: 0.9905 MB / 443.3 MB, free: 1.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009461/0.3352, allocations: 362.3 kB / 443.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3352, allocations: 0 / 443.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.3355, allocations: 210.6 kB / 443.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.3359, allocations: 40.88 kB / 443.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005616/0.3416, allocations: 3.077 MB / 446.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.342, allocations: 0.7546 MB / 447.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.3421, allocations: 23.7 kB / 447.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.3422, allocations: 73.28 kB / 447.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3422, allocations: 0 / 447.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03339/0.3756, allocations: 5.449 MB / 453.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.8, allocations: 4.125 kB / 453.2 MB, free: 13.57 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable opAmp.out.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv. Warning: Get data of variable opAmp.out.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv failed! Error: Could not read variable opAmp.out.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv. Warning: Get data of variable opAmp.out.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,c.v,l.i,opAmp.out.v,opAmp.out.i Variables in the result:time,c.v,l.i [Calling sys.exit(0), Time elapsed: 14.242559464997612]