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.001944/0.001944, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002389/0.002389, allocations: 209.9 kB / 23.73 MB, free: 4.41 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.001588/0.001588, allocations: 55.92 kB / 377.8 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2526, allocations: 53.37 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003872/0.2565, allocations: 2.526 MB / 433.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.2577, allocations: 0.6661 MB / 434.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.2578, allocations: 11.94 kB / 434.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.258, allocations: 43.58 kB / 434.4 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.2582, allocations: 83.25 kB / 434.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.2584, allocations: 91.83 kB / 434.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004045/0.2588, allocations: 346.5 kB / 434.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.259, allocations: 75.67 kB / 435 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.2593, allocations: 143.5 kB / 435.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.2595, allocations: 119.3 kB / 435.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.652e-05/0.2595, allocations: 28 kB / 435.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.272e-05/0.2596, allocations: 28 kB / 435.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.2597, allocations: 63.81 kB / 435.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.2598, allocations: 123.4 kB / 435.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.2601, allocations: 314.6 kB / 435.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2601, allocations: 8 kB / 435.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2601, allocations: 0 / 435.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.2601, allocations: 0 / 435.8 MB, free: 1.957 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.000957/0.2611, allocations: 0.517 MB / 436.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.2612, allocations: 12.03 kB / 436.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.237e-05/0.2612, allocations: 62.72 kB / 436.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.884e-05/0.2613, allocations: 32.75 kB / 436.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.2616, allocations: 206 kB / 436.6 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.2617, allocations: 16.88 kB / 436.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/0.2617, allocations: 28.31 kB / 436.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000548/0.2623, allocations: 360 kB / 437 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2623, allocations: 0 / 437 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.2623, allocations: 12 kB / 437 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.2623, allocations: 4 kB / 437 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004632/0.2628, allocations: 209.9 kB / 437.2 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.2643, allocations: 0.914 MB / 438.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.2648, allocations: 174.5 kB / 438.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004/0.2652, allocations: 151.9 kB / 438.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.2652, allocations: 3.906 kB / 438.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.2653, allocations: 34.56 kB / 438.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.132e-06/0.2653, allocations: 0 / 438.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001684/0.267, allocations: 497.9 kB / 439 MB, free: 14.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.267, allocations: 51.41 kB / 439 MB, free: 14.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.2673, allocations: 236.8 kB / 439.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.2673, allocations: 33.64 kB / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.2674, allocations: 180.2 kB / 439.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/0.2675, allocations: 75.41 kB / 439.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.949e-05/0.2676, allocations: 41.72 kB / 439.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.2678, allocations: 330.8 kB / 439.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.2679, allocations: 71.95 kB / 440 MB, free: 13.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.2682, allocations: 131.5 kB / 440.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.2686, allocations: 202.7 kB / 440.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2686, allocations: 3.938 kB / 440.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000869/0.2694, allocations: 357.1 kB / 440.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2695, allocations: 8 kB / 440.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2695, allocations: 0 / 440.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003574/0.2698, allocations: 84.86 kB / 440.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.27, allocations: 43.92 kB / 440.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002933/0.2729, allocations: 1.89 MB / 442.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.2731, allocations: 31.95 kB / 442.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.2731, allocations: 16 kB / 442.7 MB, free: 10.59 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.000156/0.2733, allocations: 141.7 kB / 442.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.912e-05/0.2734, allocations: 19.91 kB / 442.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.834e-05/0.2734, allocations: 30.11 kB / 442.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2734, allocations: 4 kB / 442.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.2734, allocations: 0 / 442.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2734, allocations: 3.938 kB / 442.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.2746, allocations: 0.5958 MB / 443.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.2746, allocations: 3.984 kB / 443.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.2748, allocations: 31.98 kB / 443.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000259/0.275, allocations: 76.8 kB / 443.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.275, allocations: 4 kB / 443.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002499/0.2775, allocations: 1.812 MB / 445.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.2775, allocations: 4.109 kB / 445.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009988/0.2785, allocations: 458.9 kB / 445.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.2786, allocations: 23.89 kB / 445.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.2786, allocations: 7.938 kB / 445.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.2788, allocations: 28.03 kB / 445.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.2789, allocations: 7.984 kB / 445.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.2789, allocations: 7.938 kB / 446 MB, free: 7.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001823/0.2791, allocations: 172.5 kB / 446.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2791, allocations: 0 / 446.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004514/0.2795, allocations: 71.89 kB / 446.2 MB, free: 6.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.001382/0.2809, allocations: 0.9929 MB / 447.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009621/0.2819, allocations: 358.4 kB / 447.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.2819, allocations: 0 / 447.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003475/0.2822, allocations: 209.6 kB / 447.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.2826, allocations: 36.66 kB / 447.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005802/0.2884, allocations: 3.081 MB / 450.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.2886, allocations: 142.2 kB / 451 MB, free: 1.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.498e-05/0.2887, allocations: 25.89 kB / 451 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.2888, allocations: 71.41 kB / 451.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2888, allocations: 0 / 451.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03743/0.3262, allocations: 6 MB / 457.1 MB, free: 12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13, allocations: 10.64 kB / 457.1 MB, free: 11.99 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: 15.550691010896116]