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.001803/0.001803, allocations: 109.5 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.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.002034/0.002034, allocations: 184.2 kB / 23.72 MB, free: 4.699 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.401/1.401, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.001511/0.001511, allocations: 43.92 kB / 370.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2538, allocations: 52.18 MB / 422.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004482/0.2583, allocations: 2.731 MB / 425.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.2598, allocations: 0.6699 MB / 426.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.2599, allocations: 4 kB / 426.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.2601, allocations: 51.5 kB / 426.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.2603, allocations: 83.27 kB / 426.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.2607, allocations: 99.73 kB / 426.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.2611, allocations: 334.6 kB / 426.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.2613, allocations: 85.97 kB / 426.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.2615, allocations: 127.5 kB / 426.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.2618, allocations: 147.4 kB / 427 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.031e-05/0.2618, allocations: 28 kB / 427 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.81e-05/0.2619, allocations: 28 kB / 427 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.2619, allocations: 59.77 kB / 427.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.2621, allocations: 147.3 kB / 427.2 MB, free: 10 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.2625, allocations: 315.1 kB / 427.5 MB, free: 9.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2625, allocations: 0 / 427.5 MB, free: 9.699 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2625, allocations: 0 / 427.5 MB, free: 9.699 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.2625, allocations: 0 / 427.5 MB, free: 9.699 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.001085/0.2636, allocations: 0.5247 MB / 428.1 MB, free: 9.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.2636, allocations: 12.02 kB / 428.1 MB, free: 9.133 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.279e-05/0.2637, allocations: 62.73 kB / 428.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.65e-05/0.2638, allocations: 28.75 kB / 428.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.2642, allocations: 206 kB / 428.4 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.2642, allocations: 16.88 kB / 428.4 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.2642, allocations: 28.38 kB / 428.4 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005346/0.2648, allocations: 278.9 kB / 428.7 MB, free: 8.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.2648, allocations: 3.938 kB / 428.7 MB, free: 8.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.2648, allocations: 12 kB / 428.7 MB, free: 8.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.2648, allocations: 4 kB / 428.7 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004594/0.2653, allocations: 205.9 kB / 428.9 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.2671, allocations: 0.9686 MB / 429.9 MB, free: 7.219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005009/0.2676, allocations: 174.5 kB / 430 MB, free: 7.039 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004292/0.268, allocations: 148.8 kB / 430.2 MB, free: 6.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.268, allocations: 0 / 430.2 MB, free: 6.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.977e-05/0.2681, allocations: 38.56 kB / 430.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.2681, allocations: 3.938 kB / 430.2 MB, free: 6.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001816/0.2699, allocations: 489.5 kB / 430.7 MB, free: 6.355 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.27, allocations: 59.34 kB / 430.8 MB, free: 6.285 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.2702, allocations: 236.8 kB / 431 MB, free: 6.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.2703, allocations: 33.64 kB / 431 MB, free: 6.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.2704, allocations: 184.2 kB / 431.2 MB, free: 5.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.565e-05/0.2705, allocations: 63.44 kB / 431.3 MB, free: 5.758 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.817e-05/0.2705, allocations: 45.7 kB / 431.3 MB, free: 5.707 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2707, allocations: 330.8 kB / 431.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.2709, allocations: 67.97 kB / 431.7 MB, free: 5.309 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.2711, allocations: 130.8 kB / 431.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004004/0.2715, allocations: 204.6 kB / 432 MB, free: 4.934 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2715, allocations: 3.938 kB / 432 MB, free: 4.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008746/0.2724, allocations: 363.8 kB / 432.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2724, allocations: 4 kB / 432.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.2724, allocations: 4 kB / 432.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004077/0.2728, allocations: 76.86 kB / 432.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.273, allocations: 55.91 kB / 432.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003164/0.2762, allocations: 1.89 MB / 434.4 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.2764, allocations: 31.8 kB / 434.5 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.2764, allocations: 12 kB / 434.5 MB, free: 2.371 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.0001815/0.2766, allocations: 141.8 kB / 434.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.2766, allocations: 23.91 kB / 434.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.776e-05/0.2767, allocations: 26.11 kB / 434.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2767, allocations: 0 / 434.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.2768, allocations: 0 / 434.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.2768, allocations: 4 kB / 434.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.278, allocations: 0.6268 MB / 435.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.278, allocations: 4.125 kB / 435.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.2782, allocations: 39.91 kB / 435.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002751/0.2785, allocations: 68.81 kB / 435.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.2785, allocations: 7.984 kB / 435.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002483/0.281, allocations: 1.817 MB / 437.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.281, allocations: 0 / 437.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.2821, allocations: 460.5 kB / 437.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.968e-05/0.2821, allocations: 31.81 kB / 437.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.2822, allocations: 0 / 437.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.2824, allocations: 28.05 kB / 437.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.2824, allocations: 11.92 kB / 437.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.2824, allocations: 15.92 kB / 437.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001738/0.2826, allocations: 160.5 kB / 437.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2826, allocations: 0 / 437.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004548/0.283, allocations: 75.89 kB / 438 MB, free: 14.66 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.001324/0.2844, allocations: 0.9927 MB / 439 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009486/0.2853, allocations: 370.5 kB / 439.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2853, allocations: 0 / 439.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.2856, allocations: 206.5 kB / 439.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.286, allocations: 48.27 kB / 439.6 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/0.2916, allocations: 3.069 MB / 442.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.292, allocations: 0.7519 MB / 443.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.2921, allocations: 21.94 kB / 443.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.2922, allocations: 75.42 kB / 443.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.2922, allocations: 0 / 443.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03859/0.3308, allocations: 5.628 MB / 449.1 MB, free: 3.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.8, allocations: 6.578 kB / 449.1 MB, free: 3.461 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.254800491002243]