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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 103.5 kB / 20.43 MB, free: 1.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 180.1 kB / 23.7 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 47.92 kB / 370.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2655, allocations: 52.19 MB / 422.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003827/0.2693, allocations: 2.509 MB / 425.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.2706, allocations: 0.6505 MB / 425.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.2707, allocations: 11.94 kB / 425.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.2709, allocations: 43.56 kB / 425.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.2711, allocations: 87.25 kB / 425.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.2713, allocations: 91.81 kB / 426 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003896/0.2717, allocations: 338.5 kB / 426.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.2719, allocations: 79.66 kB / 426.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.2721, allocations: 131.6 kB / 426.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.2723, allocations: 119.4 kB / 426.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.897e-05/0.2724, allocations: 28 kB / 426.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.445e-05/0.2724, allocations: 24 kB / 426.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.957e-05/0.2725, allocations: 71.69 kB / 426.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.2726, allocations: 123.5 kB / 426.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003579/0.273, allocations: 314.7 kB / 427.2 MB, free: 9.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.273, allocations: 0 / 427.2 MB, free: 9.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.273, allocations: 4 kB / 427.2 MB, free: 9.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.273, allocations: 0 / 427.2 MB, free: 9.707 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.001087/0.2741, allocations: 0.5209 MB / 427.7 MB, free: 9.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2741, allocations: 8.031 kB / 427.7 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.977e-05/0.2742, allocations: 66.67 kB / 427.8 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/0.2742, allocations: 32.75 kB / 427.8 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.2746, allocations: 202 kB / 428 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.2746, allocations: 20.88 kB / 428.1 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.341e-05/0.2747, allocations: 24.38 kB / 428.1 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005626/0.2752, allocations: 356 kB / 428.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2753, allocations: 3.938 kB / 428.4 MB, free: 8.391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.2753, allocations: 15.98 kB / 428.4 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.2753, allocations: 8 kB / 428.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004548/0.2758, allocations: 201.9 kB / 428.6 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.2773, allocations: 0.9102 MB / 429.6 MB, free: 7.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/0.2778, allocations: 170.6 kB / 429.7 MB, free: 7.016 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004046/0.2782, allocations: 144.8 kB / 429.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.2782, allocations: 8 kB / 429.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.2783, allocations: 38.81 kB / 429.9 MB, free: 6.816 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.2783, allocations: 0 / 429.9 MB, free: 6.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001661/0.2799, allocations: 493.2 kB / 430.4 MB, free: 6.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.28, allocations: 51.41 kB / 430.4 MB, free: 6.266 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.2802, allocations: 236.9 kB / 430.7 MB, free: 6.023 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.2802, allocations: 29.7 kB / 430.7 MB, free: 5.988 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.2804, allocations: 184.1 kB / 430.9 MB, free: 5.805 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.2804, allocations: 67.45 kB / 431 MB, free: 5.738 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.519e-05/0.2805, allocations: 49.66 kB / 431 MB, free: 5.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2806, allocations: 330.8 kB / 431.3 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.2808, allocations: 71.95 kB / 431.4 MB, free: 5.281 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.281, allocations: 130.8 kB / 431.5 MB, free: 5.129 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.2814, allocations: 206.6 kB / 431.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.978e-06/0.2814, allocations: 7.938 kB / 431.7 MB, free: 4.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008266/0.2822, allocations: 355.8 kB / 432.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2822, allocations: 8.062 kB / 432.1 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2822, allocations: 4 kB / 432.1 MB, free: 4.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003394/0.2826, allocations: 72.8 kB / 432.2 MB, free: 4.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.2828, allocations: 51.92 kB / 432.2 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002826/0.2856, allocations: 1.886 MB / 434.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.2858, allocations: 31.86 kB / 434.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.2858, allocations: 8 kB / 434.1 MB, free: 2.355 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.0001423/0.2859, allocations: 145.7 kB / 434.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.286, allocations: 19.86 kB / 434.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.286, allocations: 30.11 kB / 434.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.286, allocations: 8.094 kB / 434.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.286, allocations: 3.938 kB / 434.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.286, allocations: 0 / 434.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.2872, allocations: 0.5997 MB / 434.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2872, allocations: 4.125 kB / 434.9 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.2873, allocations: 35.92 kB / 435 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002628/0.2876, allocations: 76.8 kB / 435.1 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.2876, allocations: 4 kB / 435.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002466/0.2901, allocations: 1.805 MB / 436.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2901, allocations: 3.984 kB / 436.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000959/0.291, allocations: 455.9 kB / 437.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.2911, allocations: 27.88 kB / 437.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.2911, allocations: 0 / 437.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.2913, allocations: 19.98 kB / 437.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.2913, allocations: 12.05 kB / 437.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.2913, allocations: 15.94 kB / 437.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.2915, allocations: 164.5 kB / 437.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2915, allocations: 3.938 kB / 437.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004095/0.2919, allocations: 75.89 kB / 437.6 MB, free: 14.67 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.001294/0.2932, allocations: 0.993 MB / 438.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008991/0.2941, allocations: 358.6 kB / 439 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2941, allocations: 0 / 439 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003176/0.2944, allocations: 202.6 kB / 439.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.2948, allocations: 46.58 kB / 439.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005523/0.3003, allocations: 3.077 MB / 442.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.3005, allocations: 142.2 kB / 442.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.002e-05/0.3006, allocations: 17.94 kB / 442.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.3007, allocations: 75.42 kB / 442.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3007, allocations: 0 / 442.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03651/0.3372, allocations: 6.003 MB / 448.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.8, allocations: 10.14 kB / 448.5 MB, free: 3.754 MB / 350.1 MB " [Timeout remaining time 647] (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) [Timeout 52.5] 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) [Timeout 660] "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! " [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: 15.307784690055996]