Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.0008877/0.0008877, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008518/0.0008518, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8807/0.8807, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.729e-05, allocations: 3.266 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004971/0.004999, allocations: 3.4 MB / 327.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.006765, allocations: 1.39 MB / 329.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.006931, allocations: 19.94 kB / 329.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009717/0.007903, allocations: 0.7347 MB / 330.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005961/0.008499, allocations: 397.3 kB / 330.4 MB, free: 9.949 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006067/0.009106, allocations: 0.5137 MB / 331 MB, free: 9.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000444/0.00955, allocations: 473.7 kB / 331.4 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005014/0.01005, allocations: 354 kB / 331.8 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/0.01039, allocations: 299.2 kB / 332.1 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.0106, allocations: 207.4 kB / 332.3 MB, free: 8.125 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.69e-05/0.01064, allocations: 40 kB / 332.3 MB, free: 8.086 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.01099, allocations: 211.6 kB / 332.5 MB, free: 7.879 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.01105, allocations: 99.59 kB / 332.6 MB, free: 7.781 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.01116, allocations: 163.6 kB / 332.8 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005841/0.01175, allocations: 0.7048 MB / 333.5 MB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01175, allocations: 0 / 333.5 MB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01175, allocations: 0 / 333.5 MB, free: 6.914 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.01176, allocations: 0 / 333.5 MB, free: 6.914 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.001306/0.01307, allocations: 0.8368 MB / 334.3 MB, free: 6.047 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.01311, allocations: 15.98 kB / 334.3 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001456/0.01326, allocations: 104 kB / 334.4 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.01494, allocations: 472.2 kB / 334.9 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.01533, allocations: 253 kB / 335.1 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.01536, allocations: 41.69 kB / 335.2 MB, free: 5.145 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.916e-05/0.01542, allocations: 48.38 kB / 335.2 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006437/0.01606, allocations: 0.5475 MB / 335.8 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.01608, allocations: 192 / 335.8 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.01612, allocations: 31.94 kB / 335.8 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.01613, allocations: 12 kB / 335.8 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006684/0.0168, allocations: 0.575 MB / 336.4 MB, free: 3.918 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.01867, allocations: 1.586 MB / 338 MB, free: 2.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009098/0.01958, allocations: 0.5653 MB / 338.5 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.01979, allocations: 190.2 kB / 338.7 MB, free: 1.496 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.897e-05/0.01985, allocations: 20.48 kB / 338.7 MB, free: 1.477 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.01987, allocations: 39.06 kB / 338.8 MB, free: 1.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.863e-06/0.01988, allocations: 0 / 338.8 MB, free: 1.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001214/0.02109, allocations: 0.7161 MB / 339.5 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.02113, allocations: 59.91 kB / 339.6 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.02126, allocations: 194.2 kB / 339.7 MB, free: 440 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.02128, allocations: 33.7 kB / 339.8 MB, free: 400 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.444e-05/0.02138, allocations: 225 kB / 340 MB, free: 172 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.029e-05/0.02146, allocations: 166.5 kB / 340.2 MB, free: 4 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.02158, allocations: 82.19 kB / 340.2 MB, free: 15.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.02166, allocations: 342.7 kB / 340.6 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.02185, allocations: 148.9 kB / 340.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.02206, allocations: 232.3 kB / 341 MB, free: 15.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004046/0.02246, allocations: 404.7 kB / 341.3 MB, free: 14.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.02246, allocations: 0 / 341.3 MB, free: 14.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006164/0.02308, allocations: 0.5331 MB / 341.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.0231, allocations: 8 kB / 341.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.02311, allocations: 0 / 341.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/0.02333, allocations: 93.02 kB / 342 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.02353, allocations: 91.83 kB / 342.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.02501, allocations: 1.926 MB / 344 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.02517, allocations: 43.73 kB / 344 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.02519, allocations: 19.98 kB / 344.1 MB, free: 11.93 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.0001851/0.02538, allocations: 173.6 kB / 344.2 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.02542, allocations: 23.86 kB / 344.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007332/0.02615, allocations: 0.5449 MB / 344.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.02615, allocations: 4 kB / 344.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.02616, allocations: 4 kB / 344.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.02617, allocations: 3.984 kB / 344.8 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.02735, allocations: 1.038 MB / 345.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.02735, allocations: 4 kB / 345.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.02754, allocations: 79.89 kB / 345.9 MB, free: 9.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001856/0.02772, allocations: 88.73 kB / 346 MB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.02775, allocations: 12 kB / 346 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.02915, allocations: 1.914 MB / 347.9 MB, free: 7.855 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.02915, allocations: 3.938 kB / 347.9 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008572/0.03, allocations: 0.7995 MB / 348.7 MB, free: 7.031 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.03004, allocations: 31.72 kB / 348.8 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.03006, allocations: 15.94 kB / 348.8 MB, free: 6.984 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.03017, allocations: 19.92 kB / 348.8 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.03024, allocations: 40.42 kB / 348.8 MB, free: 6.926 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.03025, allocations: 16 kB / 348.9 MB, free: 6.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.922e-05/0.03033, allocations: 135.2 kB / 349 MB, free: 6.777 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03033, allocations: 64 / 349 MB, free: 6.777 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004859/0.03082, allocations: 151.7 kB / 349.1 MB, free: 6.629 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.001427/0.03225, allocations: 1.378 MB / 350.5 MB, free: 5.215 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008444/0.03309, allocations: 0.5436 MB / 351.1 MB, free: 4.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.0331, allocations: 4 kB / 351.1 MB, free: 4.656 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.03345, allocations: 349.8 kB / 351.4 MB, free: 4.305 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.03374, allocations: 32 kB / 351.4 MB, free: 4.273 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.03727, allocations: 3.375 MB / 354.8 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.03744, allocations: 200.8 kB / 355 MB, free: 0.543 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000125/0.03757, allocations: 50.94 kB / 355.1 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.03771, allocations: 140.5 kB / 355.2 MB, free: 368 kB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.03771, allocations: 3.938 kB / 355.2 MB, free: 364 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.06142, allocations: 8.568 MB / 363.8 MB, free: 7.922 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.334/7.395, allocations: 7.938 kB / 363.8 MB, free: 7.914 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv. Warning: Get data of variable inductor.pin_p.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.117607380263507]