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.001561/0.001561, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001668/0.001668, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.39/1.39, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.002408/0.002408, allocations: 47.92 kB / 377.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.269, allocations: 53.35 MB / 431.2 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004543/0.2736, allocations: 2.75 MB / 433.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.2749, allocations: 0.705 MB / 434.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.275, allocations: 11.94 kB / 434.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.2752, allocations: 47.58 kB / 434.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.2754, allocations: 83.25 kB / 434.8 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.2756, allocations: 91.81 kB / 434.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003929/0.276, allocations: 338.5 kB / 435.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.2763, allocations: 89.97 kB / 435.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/0.2765, allocations: 131.6 kB / 435.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.2767, allocations: 139.4 kB / 435.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.2768, allocations: 28 kB / 435.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.947e-05/0.2768, allocations: 28 kB / 435.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.935e-05/0.2769, allocations: 67.69 kB / 435.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.277, allocations: 143.3 kB / 435.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003817/0.2774, allocations: 315.1 kB / 436.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2774, allocations: 0 / 436.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2774, allocations: 0 / 436.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.2774, allocations: 0 / 436.1 MB, free: 1.914 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.0009932/0.2784, allocations: 0.5247 MB / 436.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.2785, allocations: 8.031 kB / 436.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.709e-05/0.2785, allocations: 66.72 kB / 436.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.2786, allocations: 32.75 kB / 436.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.279, allocations: 210 kB / 436.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.279, allocations: 12.88 kB / 437 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.464e-05/0.279, allocations: 24.38 kB / 437 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.2795, allocations: 286.8 kB / 437.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2796, allocations: 4 kB / 437.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.2796, allocations: 19.92 kB / 437.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2796, allocations: 4 kB / 437.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.28, allocations: 201.9 kB / 437.5 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.2816, allocations: 0.9686 MB / 438.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004776/0.2821, allocations: 174.5 kB / 438.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/0.2825, allocations: 153 kB / 438.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.2825, allocations: 0 / 438.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.2825, allocations: 38.47 kB / 438.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.062e-06/0.2825, allocations: 0 / 438.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001715/0.2843, allocations: 496.8 kB / 439.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.2843, allocations: 55.41 kB / 439.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.2846, allocations: 236.8 kB / 439.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.2846, allocations: 33.7 kB / 439.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.2847, allocations: 176.1 kB / 439.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/0.2848, allocations: 63.47 kB / 439.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.641e-05/0.2848, allocations: 49.66 kB / 439.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.285, allocations: 334.8 kB / 440.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.2852, allocations: 67.97 kB / 440.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.2854, allocations: 131.6 kB / 440.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/0.2858, allocations: 206.6 kB / 440.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2858, allocations: 3.938 kB / 440.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008548/0.2866, allocations: 352.2 kB / 441 MB, free: 12.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2867, allocations: 4 kB / 441 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.2867, allocations: 8 kB / 441 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003824/0.2871, allocations: 84.8 kB / 441.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.2872, allocations: 47.97 kB / 441.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002957/0.2902, allocations: 1.89 MB / 443 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.2904, allocations: 43.8 kB / 443 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.2904, allocations: 8 kB / 443 MB, free: 10.57 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.0001609/0.2906, allocations: 137.8 kB / 443.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.2906, allocations: 23.86 kB / 443.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.399e-05/0.2907, allocations: 26.11 kB / 443.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2907, allocations: 4.031 kB / 443.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.2907, allocations: 0 / 443.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.2907, allocations: 7.938 kB / 443.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.2919, allocations: 0.6269 MB / 443.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2919, allocations: 128 / 443.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.292, allocations: 31.98 kB / 443.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002657/0.2923, allocations: 80.8 kB / 444 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.2923, allocations: 0 / 444 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002483/0.2948, allocations: 1.816 MB / 445.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2948, allocations: 0 / 445.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009437/0.2958, allocations: 458.9 kB / 446.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.2958, allocations: 27.81 kB / 446.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.2958, allocations: 4 kB / 446.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.296, allocations: 19.98 kB / 446.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.2961, allocations: 11.98 kB / 446.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.2961, allocations: 7.938 kB / 446.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001714/0.2962, allocations: 176.5 kB / 446.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2962, allocations: 0 / 446.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004324/0.2967, allocations: 75.89 kB / 446.6 MB, free: 6.867 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.001289/0.298, allocations: 0.9893 MB / 447.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009264/0.2989, allocations: 362.5 kB / 447.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2989, allocations: 0 / 447.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.2992, allocations: 206.9 kB / 448.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.2996, allocations: 48.91 kB / 448.2 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00542/0.305, allocations: 3.082 MB / 451.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.3054, allocations: 0.7519 MB / 452 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.628e-05/0.3055, allocations: 17.94 kB / 452 MB, free: 1.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.3056, allocations: 71.42 kB / 452.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3056, allocations: 0 / 452.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03845/0.344, allocations: 5.631 MB / 457.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.56, allocations: 9.016 kB / 457.7 MB, free: 11.66 MB / 366.1 MB " [Timeout remaining time 647] (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.93459924799754]