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.0008246/0.0008246, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008553/0.0008553, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9054/0.9054, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.914e-06/1.914e-06, allocations: 0 / 324.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.687e-05, allocations: 2.281 kB / 324.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002563/0.00258, allocations: 2.547 MB / 327.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.003688, allocations: 0.666 MB / 327.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.003806, allocations: 11.94 kB / 327.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.00393, allocations: 51.5 kB / 327.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.004076, allocations: 95.23 kB / 328 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.004301, allocations: 91.75 kB / 328.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.004545, allocations: 350.3 kB / 328.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.004704, allocations: 78.05 kB / 328.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/0.004998, allocations: 199.6 kB / 328.7 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.005116, allocations: 103.6 kB / 328.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.005148, allocations: 28 kB / 328.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.566e-05/0.005173, allocations: 28 kB / 328.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.005207, allocations: 59.75 kB / 328.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.062e-05/0.005278, allocations: 103.8 kB / 329 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.005522, allocations: 330.9 kB / 329.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005525, allocations: 0 / 329.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.005526, allocations: 0 / 329.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.005531, allocations: 0 / 329.3 MB, free: 11.14 MB / 298.7 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.0006603/0.006191, allocations: 0.5163 MB / 329.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.006229, allocations: 12.03 kB / 329.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.787e-05/0.006277, allocations: 58.73 kB / 329.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.006327, allocations: 36.75 kB / 329.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.006582, allocations: 205.3 kB / 330.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.006597, allocations: 16.88 kB / 330.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.006626, allocations: 24.38 kB / 330.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.006994, allocations: 352.4 kB / 330.5 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.007003, allocations: 192 / 330.5 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.007026, allocations: 24.05 kB / 330.6 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.007032, allocations: 8 kB / 330.6 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002618/0.007294, allocations: 209.9 kB / 330.8 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009833/0.008277, allocations: 0.8952 MB / 331.7 MB, free: 8.645 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.008582, allocations: 186.4 kB / 331.8 MB, free: 8.453 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.008819, allocations: 144.8 kB / 332 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.008838, allocations: 4 kB / 332 MB, free: 8.305 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.008858, allocations: 38.56 kB / 332 MB, free: 8.258 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.432e-06/0.00886, allocations: 0 / 332 MB, free: 8.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009631/0.009823, allocations: 492.9 kB / 332.5 MB, free: 7.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.009851, allocations: 59.28 kB / 332.6 MB, free: 7.699 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.01001, allocations: 237.7 kB / 332.8 MB, free: 7.457 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.01003, allocations: 25.7 kB / 332.8 MB, free: 7.426 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.654e-05/0.0101, allocations: 180.2 kB / 333 MB, free: 7.246 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.01014, allocations: 67.38 kB / 333.1 MB, free: 7.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.01019, allocations: 45.7 kB / 333.1 MB, free: 7.129 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.243e-05/0.01027, allocations: 330.8 kB / 333.4 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.741e-05/0.01037, allocations: 75.95 kB / 333.5 MB, free: 6.723 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.01049, allocations: 126.8 kB / 333.6 MB, free: 6.574 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.01071, allocations: 205.9 kB / 333.8 MB, free: 6.352 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01071, allocations: 0 / 333.8 MB, free: 6.352 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004368/0.01115, allocations: 354.1 kB / 334.2 MB, free: 5.996 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.01116, allocations: 8 kB / 334.2 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01116, allocations: 4.062 kB / 334.2 MB, free: 5.984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002198/0.01138, allocations: 76.8 kB / 334.3 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.01148, allocations: 51.92 kB / 334.3 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.01303, allocations: 1.894 MB / 336.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.01313, allocations: 31.83 kB / 336.2 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.01315, allocations: 12 kB / 336.3 MB, free: 3.793 MB / 298.7 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 9.343e-05/0.01324, allocations: 137.7 kB / 336.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.01327, allocations: 19.91 kB / 336.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.01329, allocations: 26.11 kB / 336.4 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.0133, allocations: 8.031 kB / 336.4 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.0133, allocations: 4.062 kB / 336.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.0133, allocations: 0 / 336.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006436/0.01395, allocations: 0.5957 MB / 337 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01395, allocations: 0 / 337 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.734e-05/0.01404, allocations: 35.92 kB / 337.1 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001454/0.01418, allocations: 80.73 kB / 337.2 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.01419, allocations: 4 kB / 337.2 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.01551, allocations: 1.808 MB / 339 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01551, allocations: 4.047 kB / 339 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.01606, allocations: 466.4 kB / 339.4 MB, free: 436 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.01608, allocations: 23.89 kB / 339.5 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.0161, allocations: 0 / 339.5 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.396e-05/0.01619, allocations: 23.92 kB / 339.5 MB, free: 388 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.01621, allocations: 11.97 kB / 339.5 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.01622, allocations: 4 kB / 339.5 MB, free: 372 kB / 298.7 MB Notification: Performance of sorting global known variables: time 9.722e-05/0.01632, allocations: 177.3 kB / 339.7 MB, free: 196 kB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01632, allocations: 0 / 339.7 MB, free: 196 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.01657, allocations: 75.83 kB / 339.7 MB, free: 120 kB / 298.7 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.0007211/0.01729, allocations: 0.994 MB / 340.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007097/0.018, allocations: 354.6 kB / 341.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01801, allocations: 0 / 341.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.01817, allocations: 205.7 kB / 341.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.01844, allocations: 32.72 kB / 341.3 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.02147, allocations: 3.036 MB / 344.3 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.846e-05/0.02156, allocations: 138.2 kB / 344.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.441e-05/0.02163, allocations: 25.94 kB / 344.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/0.02198, allocations: 76.47 kB / 344.6 MB, free: 11.06 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02198, allocations: 0 / 344.6 MB, free: 11.06 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.04146, allocations: 6.14 MB / 350.7 MB, free: 5.082 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/7.934, allocations: 19.02 kB / 350.7 MB, free: 5.066 MB / 314.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/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: 9.710760006681085]