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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001777/0.001777, allocations: 114 kB / 20.44 MB, free: 1.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002027/0.002027, allocations: 213.4 kB / 23.74 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 59.91 kB / 377.8 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2755, allocations: 53.4 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004349/0.2798, allocations: 2.771 MB / 434 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.2815, allocations: 0.6778 MB / 434.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.2817, allocations: 11.94 kB / 434.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.2819, allocations: 43.56 kB / 434.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.2821, allocations: 95.19 kB / 434.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.2823, allocations: 79.89 kB / 434.9 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.2827, allocations: 334.4 kB / 435.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.2829, allocations: 85.97 kB / 435.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002902/0.2832, allocations: 135.5 kB / 435.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.2834, allocations: 139.4 kB / 435.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.092e-05/0.2835, allocations: 32 kB / 435.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.753e-05/0.2835, allocations: 28 kB / 435.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.039e-05/0.2836, allocations: 67.7 kB / 435.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.2837, allocations: 143.3 kB / 435.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.2841, allocations: 334.9 kB / 436.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.2841, allocations: 0 / 436.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.2841, allocations: 4 kB / 436.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.2841, allocations: 0 / 436.2 MB, free: 1.715 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001001/0.2852, allocations: 0.5015 MB / 436.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.2852, allocations: 8.031 kB / 436.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.928e-05/0.2853, allocations: 62.72 kB / 436.7 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.884e-05/0.2854, allocations: 40.7 kB / 436.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.2858, allocations: 215.4 kB / 437 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.2859, allocations: 21.03 kB / 437 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.782e-05/0.2859, allocations: 28.36 kB / 437 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004322/0.2864, allocations: 242.2 kB / 437.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.2864, allocations: 0 / 437.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.2864, allocations: 8 kB / 437.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.2864, allocations: 8 kB / 437.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.2867, allocations: 182.5 kB / 437.5 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.2883, allocations: 0.9028 MB / 438.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.2886, allocations: 154.5 kB / 438.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003296/0.289, allocations: 132.8 kB / 438.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.289, allocations: 11.94 kB / 438.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.289, allocations: 30.56 kB / 438.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.192e-06/0.289, allocations: 4 kB / 438.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.00109/0.2901, allocations: 365.1 kB / 439.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.2902, allocations: 63.39 kB / 439.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.2904, allocations: 232.8 kB / 439.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.2904, allocations: 29.7 kB / 439.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.2905, allocations: 180.1 kB / 439.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.805e-05/0.2906, allocations: 71.41 kB / 439.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.699e-05/0.2907, allocations: 57.66 kB / 439.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2908, allocations: 326.8 kB / 440 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.2909, allocations: 59.97 kB / 440 MB, free: 13.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.2911, allocations: 106 kB / 440.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.2913, allocations: 178.5 kB / 440.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2913, allocations: 4 kB / 440.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000545/0.2919, allocations: 294.2 kB / 440.6 MB, free: 13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.2919, allocations: 4 kB / 440.6 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2919, allocations: 4 kB / 440.6 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003354/0.2922, allocations: 72.78 kB / 440.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.2924, allocations: 47.92 kB / 440.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.2946, allocations: 1.806 MB / 442.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.2948, allocations: 27.78 kB / 442.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.2948, allocations: 8.062 kB / 442.6 MB, free: 10.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (opAmp.satNeg,opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.2949, allocations: 149.8 kB / 442.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.295, allocations: 23.86 kB / 442.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.959e-05/0.295, allocations: 26.06 kB / 442.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.295, allocations: 4 kB / 442.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.295, allocations: 0 / 442.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.2951, allocations: 3.984 kB / 442.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008874/0.2959, allocations: 0.5878 MB / 443.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.2959, allocations: 0 / 443.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.2961, allocations: 35.98 kB / 443.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002555/0.2964, allocations: 72.78 kB / 443.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.2964, allocations: 4 kB / 443.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.2984, allocations: 1.802 MB / 445.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2984, allocations: 0 / 445.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005932/0.299, allocations: 394.3 kB / 445.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.299, allocations: 27.81 kB / 445.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.2991, allocations: 7.938 kB / 445.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.2992, allocations: 24.05 kB / 445.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.2993, allocations: 15.97 kB / 445.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.2993, allocations: 7.938 kB / 445.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.2995, allocations: 172.5 kB / 445.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2995, allocations: 0 / 445.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004324/0.2999, allocations: 75.89 kB / 446 MB, free: 7.305 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: 2 (opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009561/0.3009, allocations: 0.9239 MB / 446.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004995/0.3014, allocations: 293.1 kB / 447.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.3014, allocations: 4 kB / 447.2 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.3016, allocations: 202.6 kB / 447.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.302, allocations: 55.45 kB / 447.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/0.3055, allocations: 2.677 MB / 450.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.3059, allocations: 0.7596 MB / 450.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.203e-05/0.306, allocations: 22.3 kB / 450.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.3061, allocations: 79.41 kB / 451 MB, free: 2.094 MB / 350.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3061, allocations: 0 / 451 MB, free: 2.094 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03645/0.3426, allocations: 5.983 MB / 457 MB, free: 12.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.6, allocations: 3.938 kB / 457 MB, free: 12.23 MB / 366.1 MB " [Timeout remaining time 647] (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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_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! " [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.077448614996683]