Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001188/0.001188, allocations: 83.69 kB / 20.67 MB, free: 3.879 MB / 18.57 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.0009537/0.0009537, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 18.57 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 0.9163/0.9163, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.912e-05, allocations: 6.219 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003279/0.003308, allocations: 3.406 MB / 328 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.005162, allocations: 1.394 MB / 329.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.005402, allocations: 8 kB / 329.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.006566, allocations: 0.7463 MB / 330.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006703/0.007237, allocations: 385.9 kB / 330.5 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006116/0.007848, allocations: 0.5282 MB / 331 MB, free: 9.457 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000426/0.008274, allocations: 473.7 kB / 331.5 MB, free: 8.992 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004635/0.008738, allocations: 358 kB / 331.8 MB, free: 8.641 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003308/0.009069, allocations: 299.2 kB / 332.1 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.009263, allocations: 203.5 kB / 332.3 MB, free: 8.148 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.082e-05/0.009304, allocations: 44 kB / 332.4 MB, free: 8.105 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003315/0.009635, allocations: 203.7 kB / 332.6 MB, free: 7.906 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.278e-05/0.009688, allocations: 107.6 kB / 332.7 MB, free: 7.801 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.009793, allocations: 159.6 kB / 332.8 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000594/0.01039, allocations: 0.7047 MB / 333.5 MB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.01039, allocations: 0 / 333.5 MB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.01039, allocations: 4 kB / 333.5 MB, free: 6.934 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.0104, allocations: 0 / 333.5 MB, free: 6.934 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00128/0.01168, allocations: 0.8329 MB / 334.4 MB, free: 6.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.01171, allocations: 8.031 kB / 334.4 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.01183, allocations: 108 kB / 334.5 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.01343, allocations: 468.2 kB / 334.9 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.01376, allocations: 257 kB / 335.2 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.01378, allocations: 37.69 kB / 335.2 MB, free: 5.176 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/0.01384, allocations: 56.36 kB / 335.3 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006112/0.01445, allocations: 0.5436 MB / 335.8 MB, free: 4.562 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.01447, allocations: 8.188 kB / 335.8 MB, free: 4.555 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.0145, allocations: 23.94 kB / 335.9 MB, free: 4.531 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.01451, allocations: 16 kB / 335.9 MB, free: 4.516 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007007/0.01521, allocations: 0.5634 MB / 336.4 MB, free: 3.953 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.01701, allocations: 1.598 MB / 338 MB, free: 2.273 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008879/0.0179, allocations: 0.5642 MB / 338.6 MB, free: 1.707 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.0181, allocations: 182.3 kB / 338.8 MB, free: 1.527 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.435e-05/0.01815, allocations: 20.48 kB / 338.8 MB, free: 1.508 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.01818, allocations: 39.06 kB / 338.8 MB, free: 1.461 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.813e-06/0.01818, allocations: 4 kB / 338.8 MB, free: 1.457 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001117/0.01929, allocations: 0.7161 MB / 339.6 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.01932, allocations: 59.91 kB / 339.6 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.01945, allocations: 194.2 kB / 339.8 MB, free: 468 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.01947, allocations: 29.7 kB / 339.8 MB, free: 432 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/0.01955, allocations: 221 kB / 340 MB, free: 208 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/0.01963, allocations: 170.5 kB / 340.2 MB, free: 36 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-05/0.01972, allocations: 86.17 kB / 340.3 MB, free: 15.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.071e-05/0.01981, allocations: 338.8 kB / 340.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.01999, allocations: 144.9 kB / 340.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.02022, allocations: 232.2 kB / 341 MB, free: 15.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/0.02064, allocations: 400.8 kB / 341.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.02065, allocations: 4 kB / 341.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006271/0.02128, allocations: 0.5331 MB / 341.9 MB, free: 14.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.02129, allocations: 4 kB / 341.9 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.0213, allocations: 4 kB / 341.9 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002553/0.02156, allocations: 92.95 kB / 342 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.02175, allocations: 95.83 kB / 342.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.02319, allocations: 1.93 MB / 344 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.02332, allocations: 39.73 kB / 344.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.02335, allocations: 23.98 kB / 344.1 MB, free: 11.95 MB / 314.7 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 (50): * Single equations (assignments): 49 * 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): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.02348, allocations: 165.7 kB / 344.3 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.02352, allocations: 27.86 kB / 344.3 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006736/0.02419, allocations: 0.5487 MB / 344.8 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.02419, allocations: 4 kB / 344.9 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.0242, allocations: 0 / 344.9 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.0242, allocations: 3.984 kB / 344.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.02539, allocations: 1.042 MB / 345.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.02539, allocations: 8 kB / 345.9 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.02558, allocations: 75.91 kB / 346 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002621/0.02584, allocations: 92.67 kB / 346.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.02588, allocations: 12 kB / 346.1 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/0.02738, allocations: 1.91 MB / 348 MB, free: 7.879 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.02739, allocations: 288 / 348 MB, free: 7.879 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009631/0.02835, allocations: 0.7993 MB / 348.8 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.02838, allocations: 39.67 kB / 348.8 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.0284, allocations: 15.88 kB / 348.8 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.02851, allocations: 16 kB / 348.9 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.02858, allocations: 40.42 kB / 348.9 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.02859, allocations: 8 kB / 348.9 MB, free: 6.941 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.305e-05/0.02868, allocations: 139.2 kB / 349 MB, free: 6.805 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02868, allocations: 0 / 349 MB, free: 6.805 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003962/0.02907, allocations: 155.7 kB / 349.2 MB, free: 6.652 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (42): * Single equations (assignments): 41 * 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): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001309/0.03038, allocations: 1.378 MB / 350.6 MB, free: 5.242 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006784/0.03106, allocations: 0.5397 MB / 351.1 MB, free: 4.688 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.03106, allocations: 0 / 351.1 MB, free: 4.688 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003217/0.03138, allocations: 357.3 kB / 351.5 MB, free: 4.328 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.03166, allocations: 36.42 kB / 351.5 MB, free: 4.293 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.03515, allocations: 3.371 MB / 354.9 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.03528, allocations: 204.8 kB / 355.1 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.03539, allocations: 46.95 kB / 355.1 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.03553, allocations: 140.4 kB / 355.3 MB, free: 392 kB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.03553, allocations: 0 / 355.3 MB, free: 392 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.06192, allocations: 8.577 MB / 363.8 MB, free: 7.969 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.038/7.1, allocations: 8 kB / 363.8 MB, free: 7.961 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable inductor.pin_p.reference.gamma in file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv. Warning: Get data of variable inductor.pin_p.reference.gamma from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.864489529281855]